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/17774 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17774/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17774/comments | https://api.github.com/repos/huggingface/transformers/issues/17774/events | https://github.com/huggingface/transformers/issues/17774 | 1,275,993,209 | I_kwDOCUB6oc5MDhx5 | 17,774 | RHO loss | {
"login": "flozi00",
"id": 47894090,
"node_id": "MDQ6VXNlcjQ3ODk0MDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/47894090?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flozi00",
"html_url": "https://github.com/flozi00",
"followers_url": "https://api.github.com/users/flozi0... | [] | 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,655 | 1,658 | 1,658 | CONTRIBUTOR | null | ### Feature request
https://github.com/oatml/rho-loss
Abstract
> Training on web-scale data can take months. But most computation and time is wasted on redundant and noisy points that are already learnt or not learnable. To accelerate training, we introduce Reducible Holdout Loss Selection (RHO-LOSS), a simple b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17774/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17774/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17773 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17773/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17773/comments | https://api.github.com/repos/huggingface/transformers/issues/17773/events | https://github.com/huggingface/transformers/issues/17773 | 1,275,981,010 | I_kwDOCUB6oc5MDezS | 17,773 | Converting a tensor to a Python boolean might cause the trace to be incorrect when converting gpt2 to onnx format | {
"login": "HaoboGu",
"id": 8640918,
"node_id": "MDQ6VXNlcjg2NDA5MTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8640918?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HaoboGu",
"html_url": "https://github.com/HaoboGu",
"followers_url": "https://api.github.com/users/HaoboGu/... | [
{
"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 | [] | [
"@lewtun for ONNX here\r\n\r\n@HaoboGu before we can answer the issue could you please add a complete reproducible code snippet here?",
"@patrickvonplaten \r\n\r\nSure\r\n\r\n```python\r\nfrom transformers import GPT2Config\r\nfrom transformers.models.gpt2.modeling_gpt2 import GPT2LMHeadModel\r\nimport torch\r\n\... | 1,655 | 1,658 | 1,658 | NONE | null | ### System Info
```shell
- `transformers` version: 4.18.0
- Platform: Darwin-21.5.0-x86_64-i386-64bit
- Python version: 3.7.9
- 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)
- Jax versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17773/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17773/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17772 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17772/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17772/comments | https://api.github.com/repos/huggingface/transformers/issues/17772/events | https://github.com/huggingface/transformers/pull/17772 | 1,275,961,706 | PR_kwDOCUB6oc455pnc | 17,772 | [WIP] Adding Omnivore Model to HF | {
"login": "AnugunjNaman",
"id": 42839570,
"node_id": "MDQ6VXNlcjQyODM5NTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/42839570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AnugunjNaman",
"html_url": "https://github.com/AnugunjNaman",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"@AnugunjNaman thanks for working on this. Couple of pointers from me:\r\n\r\n* I will work on a separate PR for the TF port for a cleaner separation. \r\n* > The uploaded weights at my hub are correct fot SwinT only. After final changes I will port rest of them.\r\n\r\n Shouldn't this be added to the Facebook orga... | 1,655 | 1,661 | 1,661 | CONTRIBUTOR | null | This PR added `Omnivore Model` to HF. The model use single backbone of `SwinTransformer` adapted for 3D and classifies `image`, `video` and `RGBD scene` using same backbone weights with different head for each classification.
**TODO and Problems**:
- [ ] Solve Docstring Test for Final Classification Model. Currentl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17772/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17772/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17772",
"html_url": "https://github.com/huggingface/transformers/pull/17772",
"diff_url": "https://github.com/huggingface/transformers/pull/17772.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17772.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17771 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17771/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17771/comments | https://api.github.com/repos/huggingface/transformers/issues/17771/events | https://github.com/huggingface/transformers/pull/17771 | 1,275,956,641 | PR_kwDOCUB6oc455oqW | 17,771 | Added OPT to models exportable with ONNX | {
"login": "0xrushi",
"id": 6279035,
"node_id": "MDQ6VXNlcjYyNzkwMzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6279035?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/0xrushi",
"html_url": "https://github.com/0xrushi",
"followers_url": "https://api.github.com/users/0xrushi/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17771). All of your documentation changes will be reflected on that endpoint.",
"Great work!\r\n\r\nIt works for most use cases, but I did discover that `causal-lm-with-past` isn't working.\r\n\r\n`python -m transformers.on... | 1,655 | 1,675 | 1,675 | CONTRIBUTOR | null | # What does this PR do?
```python
# !python setup.py install
```
```python
# !pip install -e ".[dev]"
```
```python
# pip install onnxruntime
```
```python
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model = AutoModelForCausalLM.from_pretrained("facebook/opt-3... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17771/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17771/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17771",
"html_url": "https://github.com/huggingface/transformers/pull/17771",
"diff_url": "https://github.com/huggingface/transformers/pull/17771.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17771.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17770 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17770/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17770/comments | https://api.github.com/repos/huggingface/transformers/issues/17770/events | https://github.com/huggingface/transformers/pull/17770 | 1,275,880,597 | PR_kwDOCUB6oc455aGJ | 17,770 | Flax implementation of DPT | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,655 | 1,655 | 1,655 | CONTRIBUTOR | null | # What does this PR do?
I tried to implement DPT (Dense Prediction with Transformers) in Flax during my free time! 🚀
By the way it is the first Segmentation and Depth Estimation model implemented in Flax!
Nits/TODOs:
- [x] Figure out how to properly call `BatchNorm` and `Dropout` inside a `Sequential`
- [ ]... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17770/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17770/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17770",
"html_url": "https://github.com/huggingface/transformers/pull/17770",
"diff_url": "https://github.com/huggingface/transformers/pull/17770.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17770.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17769 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17769/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17769/comments | https://api.github.com/repos/huggingface/transformers/issues/17769/events | https://github.com/huggingface/transformers/pull/17769 | 1,275,775,493 | PR_kwDOCUB6oc455Ga_ | 17,769 | Improve error message Union not allowed | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,655 | 1,655 | 1,655 | COLLABORATOR | null | I am working with a lot of custom Dataclasses inside the `HfArgumentParser`, and while my Python code was technically correct (using `Union`), I did get the brief error message _Only `Union[X, NoneType]` (i.e., `Optional[X]`) is allowed for `Union`_. From the error message it was not clear what triggered it, and it too... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17769/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17769/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17769",
"html_url": "https://github.com/huggingface/transformers/pull/17769",
"diff_url": "https://github.com/huggingface/transformers/pull/17769.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17769.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17768 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17768/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17768/comments | https://api.github.com/repos/huggingface/transformers/issues/17768/events | https://github.com/huggingface/transformers/pull/17768 | 1,275,692,636 | PR_kwDOCUB6oc45411e | 17,768 | Translation italian: multilingual.mdx | {
"login": "nickprock",
"id": 11136646,
"node_id": "MDQ6VXNlcjExMTM2NjQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/11136646?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nickprock",
"html_url": "https://github.com/nickprock",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @nickprock! I just had a chance to have a look at your PR, can I ask you if you could fix a couple of things?\r\n- \"Tuttavia non tutti gli usi dei modelli multilingua sono diversi\" this sentence is a bit difficult to understand ... | 1,655 | 1,658 | 1,658 | CONTRIBUTOR | null | # What does this PR do?
* added multilingual.mdx
* updated _toctree.yml
See issue: [#17459](https://github.com/huggingface/transformers/issues/17459)
## 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 [contributo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17768/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17768/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17768",
"html_url": "https://github.com/huggingface/transformers/pull/17768",
"diff_url": "https://github.com/huggingface/transformers/pull/17768.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17768.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17767 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17767/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17767/comments | https://api.github.com/repos/huggingface/transformers/issues/17767/events | https://github.com/huggingface/transformers/issues/17767 | 1,275,668,726 | I_kwDOCUB6oc5MCSj2 | 17,767 | Snacky Brain Bites for HF Transformers | {
"login": "zolekode",
"id": 25635679,
"node_id": "MDQ6VXNlcjI1NjM1Njc5",
"avatar_url": "https://avatars.githubusercontent.com/u/25635679?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zolekode",
"html_url": "https://github.com/zolekode",
"followers_url": "https://api.github.com/users/zol... | [] | 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,655 | 1,658 | 1,658 | CONTRIBUTOR | null | ### Feature request
Nugget Republic has these very cool nuggets based on the HF course.
I would like to submit a PR to integrate these nuggets into either the Readme or into the official documentation if allowed.
Can anyone point me to the right place or person?
Here are a few examples of said nuggets (4 / 11 nug... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17767/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17767/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17766 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17766/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17766/comments | https://api.github.com/repos/huggingface/transformers/issues/17766/events | https://github.com/huggingface/transformers/issues/17766 | 1,275,640,249 | I_kwDOCUB6oc5MCLm5 | 17,766 | How to checkpoint TFAutoModelForSequenceClassification every k batches | {
"login": "preethiseshadri518",
"id": 60128552,
"node_id": "MDQ6VXNlcjYwMTI4NTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/60128552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/preethiseshadri518",
"html_url": "https://github.com/preethiseshadri518",
"followers_url": "ht... | [] | closed | false | null | [] | [
"Hey @preethiseshadri518 👋 We have an outstanding set of issues related to the `SavedModel` format, resulting in the errors you see. There are ways to work around it, by manually specifying portions of the graph at save time -- you can find them if you search in closed issues here :)\r\n\r\nA much simpler workaro... | 1,655 | 1,655 | 1,655 | NONE | null | I am following the Huggingface Tensorflow Notebook to [train a BERT model on MNLI](https://github.com/huggingface/notebooks/blob/main/examples/text_classification-tf.ipynb) (the task itself is irrelevant). I am interested in checkpointing models locally every k batches, so that I end with 20 or 30 intermediate checkpoi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17766/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17766/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17765 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17765/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17765/comments | https://api.github.com/repos/huggingface/transformers/issues/17765/events | https://github.com/huggingface/transformers/pull/17765 | 1,275,612,739 | PR_kwDOCUB6oc454mvZ | 17,765 | Enable torchdynamo with torch_tensorrt(fx path) | {
"login": "frank-wei",
"id": 6955737,
"node_id": "MDQ6VXNlcjY5NTU3Mzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/6955737?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/frank-wei",
"html_url": "https://github.com/frank-wei",
"followers_url": "https://api.github.com/users/fr... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi, @stas00 just a friendly ping. I updated the installation part and it will be easy to repro if needed.",
"So I followed your instructions except I used the .deb package installer.\r\n\r\n(oh and please link to https://docs.nvid... | 1,655 | 1,657 | 1,657 | CONTRIBUTOR | null | # What does this PR do?
Adding support for TorchDynamo with torch_tensor(fx2trt module). Detailed context available at #17724
This diff is about adding extra inference backend based on #17308
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17765/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17765/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17765",
"html_url": "https://github.com/huggingface/transformers/pull/17765",
"diff_url": "https://github.com/huggingface/transformers/pull/17765.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17765.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17764 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17764/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17764/comments | https://api.github.com/repos/huggingface/transformers/issues/17764/events | https://github.com/huggingface/transformers/pull/17764 | 1,275,332,820 | PR_kwDOCUB6oc453otQ | 17,764 | Fix cache for GPT-Neo-X | {
"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 | [] | [
"Thanks a lot! If it's not too much work could you maybe try running this test: https://github.com/huggingface/transformers/blob/522a9ece4baeb5abfec8953ef76469a530e987d5/tests/models/gpt_neox/test_modeling_gpt_neox.py#L144 \r\n\r\nI think right now it's not run (seems like the test function was removed)",
"_The d... | 1,655 | 1,655 | 1,655 | COLLABORATOR | null | # What does this PR do?
As pointed out on #17745, there is a problem with the logic in the cache for GPT-Neo-X. Can confirm I can use it for generation after this PR, but not before.
Fixes #17745 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17764/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/17764/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17764",
"html_url": "https://github.com/huggingface/transformers/pull/17764",
"diff_url": "https://github.com/huggingface/transformers/pull/17764.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17764.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17763 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17763/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17763/comments | https://api.github.com/repos/huggingface/transformers/issues/17763/events | https://github.com/huggingface/transformers/pull/17763 | 1,275,297,877 | PR_kwDOCUB6oc453hIi | 17,763 | Add type hints Yoso Pytorch | {
"login": "F02934",
"id": 56677617,
"node_id": "MDQ6VXNlcjU2Njc3NjE3",
"avatar_url": "https://avatars.githubusercontent.com/u/56677617?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/F02934",
"html_url": "https://github.com/F02934",
"followers_url": "https://api.github.com/users/F02934/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hello @Rocketknight1 I finished with yoso pytorch. I don't know why this pull request contain commits from previous pull request ",
"I updated the file after running make fixup and now it passed all checks",
"@F02934 Thanks for t... | 1,655 | 1,655 | 1,655 | CONTRIBUTOR | null | # What does this PR do?
Add missing Type Hints for Yoso pytorch
#16059
<!--
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 awe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17763/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17763/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17763",
"html_url": "https://github.com/huggingface/transformers/pull/17763",
"diff_url": "https://github.com/huggingface/transformers/pull/17763.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17763.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17762 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17762/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17762/comments | https://api.github.com/repos/huggingface/transformers/issues/17762/events | https://github.com/huggingface/transformers/issues/17762 | 1,275,276,487 | I_kwDOCUB6oc5MAyzH | 17,762 | feat: pipeline registry for supporting custom pipelines | {
"login": "aarnphm",
"id": 29749331,
"node_id": "MDQ6VXNlcjI5NzQ5MzMx",
"avatar_url": "https://avatars.githubusercontent.com/u/29749331?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aarnphm",
"html_url": "https://github.com/aarnphm",
"followers_url": "https://api.github.com/users/aarnph... | [] | closed | false | null | [] | [] | 1,655 | 1,656 | 1,656 | CONTRIBUTOR | null | ### Feature request
I propose a simple registry abstraction to allow users to dynamically register custom pipelines to transformers.
```python
audio_classification_tmpl = {
"impl": AudioClassificationPipeline,
"tf": (),
"pt": (AutoModelForAudioClassification,) if is_torch_available() e... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17762/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17762/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17761 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17761/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17761/comments | https://api.github.com/repos/huggingface/transformers/issues/17761/events | https://github.com/huggingface/transformers/pull/17761 | 1,275,227,513 | PR_kwDOCUB6oc453SIA | 17,761 | [WIP] Flax BLOOM implementation + demo | {
"login": "haileyschoelkopf",
"id": 65563625,
"node_id": "MDQ6VXNlcjY1NTYzNjI1",
"avatar_url": "https://avatars.githubusercontent.com/u/65563625?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/haileyschoelkopf",
"html_url": "https://github.com/haileyschoelkopf",
"followers_url": "https://... | [] | closed | false | null | [] | [
"A note on the initial status of this PR:\r\n\r\n- This first commit contains much of the code and structure of the `modeling_flax_bloom.py` file, copied from the gpt-neo Flax implementation and edited in many places already to better match the PyTorch Bloom implementation.\r\n- There are many TODOs I've left in th... | 1,655 | 1,661 | 1,659 | 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/17761/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17761/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17761",
"html_url": "https://github.com/huggingface/transformers/pull/17761",
"diff_url": "https://github.com/huggingface/transformers/pull/17761.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17761.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17760 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17760/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17760/comments | https://api.github.com/repos/huggingface/transformers/issues/17760/events | https://github.com/huggingface/transformers/pull/17760 | 1,275,157,419 | PR_kwDOCUB6oc453Crx | 17,760 | Flax sharded | {
"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... | [
{
"id": 1834056761,
"node_id": "MDU6TGFiZWwxODM0MDU2NzYx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Modeling",
"name": "Core: Modeling",
"color": "FF8446",
"default": false,
"description": "Internals of the library; Models."
}
] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The sharding tests are run for every model which should be avoided",
"Will merge `flax` before `tf` as the TF one still needs a few modification (mostly cleaning the documentation) "
] | 1,655 | 1,655 | 1,655 | COLLABORATOR | null | # What does this PR do?
Adds support for FLAX sharding checkpoints
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17760/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17760/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17760",
"html_url": "https://github.com/huggingface/transformers/pull/17760",
"diff_url": "https://github.com/huggingface/transformers/pull/17760.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17760.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17759 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17759/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17759/comments | https://api.github.com/repos/huggingface/transformers/issues/17759/events | https://github.com/huggingface/transformers/pull/17759 | 1,275,121,980 | PR_kwDOCUB6oc4527E8 | 17,759 | BLOOM enhance alibi creation | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Great thanks ! I think that you are right :) will merge it as soon as the lights are all green 🟢 ",
"It looks like a bad rebase happened, moved the PR at: #17866"
] | 1,655 | 1,656 | 1,656 | CONTRIBUTOR | null | # What does this PR do?
Thanks to @justheuristic 's contribution alibi tensor is better created/communicated during the forward pass. The tests seem to pass but still stays as an experimental feature.
cc @justheuristic
This probably will break with accelerate offloading because when initialising alibi tensor w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17759/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17759/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17759",
"html_url": "https://github.com/huggingface/transformers/pull/17759",
"diff_url": "https://github.com/huggingface/transformers/pull/17759.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17759.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17758 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17758/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17758/comments | https://api.github.com/repos/huggingface/transformers/issues/17758/events | https://github.com/huggingface/transformers/pull/17758 | 1,275,118,249 | PR_kwDOCUB6oc4526TP | 17,758 | BLOOM enhance alibi creation | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17758). All of your documentation changes will be reflected on that endpoint."
] | 1,655 | 1,655 | 1,655 | CONTRIBUTOR | null | # What does this PR do?
Thanks to @justheuristic 's contribution alibi tensor is better created/communicated during the forward pass. The tests seem to pass but still stays as an experimental feature.
cc @justheuristic
This probably will break with accelerate offloading but not sure.. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17758/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17758/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17758",
"html_url": "https://github.com/huggingface/transformers/pull/17758",
"diff_url": "https://github.com/huggingface/transformers/pull/17758.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17758.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17757 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17757/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17757/comments | https://api.github.com/repos/huggingface/transformers/issues/17757/events | https://github.com/huggingface/transformers/issues/17757 | 1,275,116,514 | I_kwDOCUB6oc5MALvi | 17,757 | Problem during the training with the parameter train_dataset. (Dict/Tensor problem) | {
"login": "dgrnd4",
"id": 69434832,
"node_id": "MDQ6VXNlcjY5NDM0ODMy",
"avatar_url": "https://avatars.githubusercontent.com/u/69434832?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dgrnd4",
"html_url": "https://github.com/dgrnd4",
"followers_url": "https://api.github.com/users/dgrnd4/fo... | [] | closed | false | null | [] | [
"@NielsRogge have you seen this error? This comes from the ViT fine-tuning tutorial.",
"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 [contribu... | 1,655 | 1,659 | 1,659 | NONE | null | Hi there, I'm following the [tutorial](https://huggingface.co/blog/fine-tune-vit), trying to fine-tune the net on Stanford Dog Dataset.
I am facing this problem: once that I try to do `trainer.train()`
this error appear:
```/usr/local/lib/python3.7/dist-packages/transformers/optimization.py:310: FutureWarning: Thi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17757/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17757/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17756 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17756/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17756/comments | https://api.github.com/repos/huggingface/transformers/issues/17756/events | https://github.com/huggingface/transformers/issues/17756 | 1,275,043,572 | I_kwDOCUB6oc5L_570 | 17,756 | GPT-NeoX missing Tokenizer | {
"login": "mrseeker",
"id": 1099127,
"node_id": "MDQ6VXNlcjEwOTkxMjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1099127?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrseeker",
"html_url": "https://github.com/mrseeker",
"followers_url": "https://api.github.com/users/mrsee... | [
{
"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 | [] | [
"Error I am receiving:\r\n```\r\nImportError: cannot import name 'GPTNeoXTokenizer' from 'transformers' (/opt/conda/lib/python3.8/site-packages/transformers/init.py)\r\n```",
"Just tried your code sample and it works fine on my side. Are you sure you have `tokenizers` installed in your env? GPT-Neo-X does not hav... | 1,655 | 1,685 | 1,658 | NONE | null | ### System Info
```shell
- `transformers` version: 4.21.0.dev0
- Platform: Linux-5.13.0-44-generic-x86_64-with-glibc2.17
- Python version: 3.8.12
- Huggingface_hub version: 0.7.0
- PyTorch version (GPU?): 1.11.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not instal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17756/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/17756/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17755 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17755/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17755/comments | https://api.github.com/repos/huggingface/transformers/issues/17755/events | https://github.com/huggingface/transformers/pull/17755 | 1,275,015,187 | PR_kwDOCUB6oc452kOA | 17,755 | CLI: use hub's `create_commit` | {
"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._",
"Some CI runs have hub 0.7.0 cached, figuring how to best update it"
] | 1,655 | 1,655 | 1,655 | MEMBER | null | # What does this PR do?
This PR changes the method to open PRs in `pt-to-tf` to the permanent method defined by the hub -- `create_commit`. It also updates the commit description (it now supports line breaks 🎉 ) and adds a flag to add extra description (so I can programmatically tag the right HF maintainer in certa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17755/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17755/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17755",
"html_url": "https://github.com/huggingface/transformers/pull/17755",
"diff_url": "https://github.com/huggingface/transformers/pull/17755.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17755.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17754 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17754/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17754/comments | https://api.github.com/repos/huggingface/transformers/issues/17754/events | https://github.com/huggingface/transformers/issues/17754 | 1,274,996,694 | I_kwDOCUB6oc5L_ufW | 17,754 | Text classification pipeline outputs differ with 4.20 | {
"login": "davidmezzetti",
"id": 561939,
"node_id": "MDQ6VXNlcjU2MTkzOQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/561939?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davidmezzetti",
"html_url": "https://github.com/davidmezzetti",
"followers_url": "https://api.github.co... | [
{
"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": "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... | [
{
"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... | [
"Just wanted to check in on this and see if it's considered an issue or the new way the pipeline works. ",
"@davidmezzetti Didn't see this issue, but I didn't see the regression.\r\n\r\nShould have been fixed here https://github.com/huggingface/transformers/pull/17906. Sorry it had time to ship with `4.20`. It wi... | 1,655 | 1,660 | 1,660 | CONTRIBUTOR | null | ### System Info
```shell
transformers 4.20.0
```
### Who can help?
@Narsil
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Repro... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17754/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/17754/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17753 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17753/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17753/comments | https://api.github.com/repos/huggingface/transformers/issues/17753/events | https://github.com/huggingface/transformers/pull/17753 | 1,274,982,470 | PR_kwDOCUB6oc452dK3 | 17,753 | Attempt to change Push CI to workflow_run | {
"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._",
"I will merge this tomorrow (so unlikely to have other PRs merged), and revert it if anything breaks (hopefully not, I am running out of ideas 😄 )",
"This works well, one good example to check is\r\n\r\n[TF: BART compatible with XL... | 1,655 | 1,655 | 1,655 | COLLABORATOR | null | # What does this PR do?
This is a fix for #17692 :
- Use the correct properties to get the information (branch/commit-SHA, etc.) for both `push` and `workflow_run` event type
- Even if we consider only the `workflow_run` event triggered by a push to `main` branch, we still need to use `github.event.workflow_r... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17753/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17753/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17753",
"html_url": "https://github.com/huggingface/transformers/pull/17753",
"diff_url": "https://github.com/huggingface/transformers/pull/17753.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17753.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17752 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17752/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17752/comments | https://api.github.com/repos/huggingface/transformers/issues/17752/events | https://github.com/huggingface/transformers/issues/17752 | 1,274,958,610 | I_kwDOCUB6oc5L_lMS | 17,752 | `Trainer` has a weird way of determining whether a TPU device is present | {
"login": "andy971022",
"id": 42510606,
"node_id": "MDQ6VXNlcjQyNTEwNjA2",
"avatar_url": "https://avatars.githubusercontent.com/u/42510606?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andy971022",
"html_url": "https://github.com/andy971022",
"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 | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api... | [
"I'm not sure what the bug is: when you have `torch_xla` installed, the `Trainer` will use it (the terminology uses TPU internally but it works on GPU and CPU as well). Could you give us a reproducer of your error?",
"@sgugger \r\nThank you for the response! Below is an example how I reproduced the problem\r\n\r\... | 1,655 | 1,656 | 1,656 | NONE | null | ### System Info
```shell
transformer > 4.15.0
Vertex AI Notebook with Pytorch 1.11 using A100
```
### Who can help?
I am very unlucky to have encountered this issue where a TPU device is assumed to be present on the machine, which it doesn't.
It prompted this error `RuntimeError: tensorflow/compiler/xla/xla_clie... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17752/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17752/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17751 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17751/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17751/comments | https://api.github.com/repos/huggingface/transformers/issues/17751/events | https://github.com/huggingface/transformers/pull/17751 | 1,274,912,440 | PR_kwDOCUB6oc452OCr | 17,751 | Use multiple workers for DataLoader at prediction step for Trainer | {
"login": "greg2451",
"id": 51173502,
"node_id": "MDQ6VXNlcjUxMTczNTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/51173502?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/greg2451",
"html_url": "https://github.com/greg2451",
"followers_url": "https://api.github.com/users/gre... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,655 | 1,665 | 1,655 | CONTRIBUTOR | null | # What does this PR do?
Fixes #17749 by adding a parameter in the DataLoader init call of the test data_loader, so that we can use multiple workers for data preparation during prediction time.
@sgugger, I tag you because this is a Trainer related PR | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17751/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17751/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17751",
"html_url": "https://github.com/huggingface/transformers/pull/17751",
"diff_url": "https://github.com/huggingface/transformers/pull/17751.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17751.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17750 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17750/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17750/comments | https://api.github.com/repos/huggingface/transformers/issues/17750/events | https://github.com/huggingface/transformers/pull/17750 | 1,274,861,968 | PR_kwDOCUB6oc452DEQ | 17,750 | Improve performance docs | {
"login": "lvwerra",
"id": 8264887,
"node_id": "MDQ6VXNlcjgyNjQ4ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/8264887?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lvwerra",
"html_url": "https://github.com/lvwerra",
"followers_url": "https://api.github.com/users/lvwerra/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Sounds good @sgugger, I added the \"Coming soon\" and restructured the ToC.",
"Communications are difficult. \r\n\r\nwhat I proposed is to add normal documents - not \"Coming Soon\"\r\n\r\ninside those documents they should all exp... | 1,655 | 1,655 | 1,655 | MEMBER | null | # What does this PR do?
As discussed with @stas00 this PR does the following things:
- adds files for missing sections so contributors can better find the place to add content.
- adds a disclaimer at the beginning stating that a lot of general training information is in the single GPU training section
- fixes the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17750/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/17750/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17750",
"html_url": "https://github.com/huggingface/transformers/pull/17750",
"diff_url": "https://github.com/huggingface/transformers/pull/17750.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17750.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17749 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17749/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17749/comments | https://api.github.com/repos/huggingface/transformers/issues/17749/events | https://github.com/huggingface/transformers/issues/17749 | 1,274,833,332 | I_kwDOCUB6oc5L_Gm0 | 17,749 | Test DataLoader never uses multiple workers | {
"login": "greg2451",
"id": 51173502,
"node_id": "MDQ6VXNlcjUxMTczNTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/51173502?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/greg2451",
"html_url": "https://github.com/greg2451",
"followers_url": "https://api.github.com/users/gre... | [] | closed | false | null | [] | [] | 1,655 | 1,655 | 1,655 | CONTRIBUTOR | null | ### Feature request / Bug Fix
I realized that in the `get_test_dataloader` method of the `Trainer` class, for datasets that are not instances of `torch.utils.data.IterableDataset`, the `num_workers` argument is not given to the `DataLoader` init call.
https://github.com/huggingface/transformers/blob/edb672ac5ed... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17749/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17749/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17748 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17748/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17748/comments | https://api.github.com/repos/huggingface/transformers/issues/17748/events | https://github.com/huggingface/transformers/issues/17748 | 1,274,780,978 | I_kwDOCUB6oc5L-50y | 17,748 | Add easy extensibility of `logits_processor` to `generate` | {
"login": "eranhirs",
"id": 3372820,
"node_id": "MDQ6VXNlcjMzNzI4MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3372820?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eranhirs",
"html_url": "https://github.com/eranhirs",
"followers_url": "https://api.github.com/users/eranh... | [] | closed | false | null | [] | [
"Hey @eranhirs 👋 On the `generate` end, if I recall correctly (I can't find the discussion), we want to steer away from controlling generation from the `config` file -- cc @patrickvonplaten.\r\n\r\nMaybe we can pass generation kwargs to `Seq2SeqTrainer` -- WDYT @sgugger?",
"Yes, we could add all generation kwar... | 1,655 | 1,658 | 1,656 | CONTRIBUTOR | null | ### Feature request
It is easy to change the behavior of `generate` with the config.
However, `logits_processor` is not read from the config, but only received [as a parameter](https://github.com/huggingface/transformers/blob/main/src/transformers/generation_utils.py#L874).
This is hard to accomplish because both ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17748/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17748/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17747 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17747/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17747/comments | https://api.github.com/repos/huggingface/transformers/issues/17747/events | https://github.com/huggingface/transformers/issues/17747 | 1,274,647,141 | I_kwDOCUB6oc5L-ZJl | 17,747 | Problem with GPU | {
"login": "marcomameli1992",
"id": 58846715,
"node_id": "MDQ6VXNlcjU4ODQ2NzE1",
"avatar_url": "https://avatars.githubusercontent.com/u/58846715?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marcomameli1992",
"html_url": "https://github.com/marcomameli1992",
"followers_url": "https://api... | [
{
"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 | [] | [
"You could try to upgrade the **numpy** version with `pip install numpy --upgrade`",
"I have updated the numpy package to the latest one (1.23.0) but It not work. I don't understand where is the problem.",
"Are you using the correct version of pytorch that suits your machine? I have no other idea why it might n... | 1,655 | 1,659 | 1,659 | NONE | null | ### System Info
Hello, I'm using windows 11, with RTX2080 and python 3.9. The packages configuration is based on pytorch 1.11 + transformer4.19.0 and when I try to use the transformer in my code with the GPU I receive an error that the data that I pass can't be converted to numpy array. I have posted the problem o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17747/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17747/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17746 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17746/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17746/comments | https://api.github.com/repos/huggingface/transformers/issues/17746/events | https://github.com/huggingface/transformers/issues/17746 | 1,274,535,705 | I_kwDOCUB6oc5L998Z | 17,746 | Is there Any difference of performance when finetuning bert use the huggingface or the google official code? | {
"login": "Doragd",
"id": 26213546,
"node_id": "MDQ6VXNlcjI2MjEzNTQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/26213546?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Doragd",
"html_url": "https://github.com/Doragd",
"followers_url": "https://api.github.com/users/Doragd/fo... | [] | closed | false | null | [] | [
"Hi @Doragd 👋 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/) 🤗",
"all right. Thanks a... | 1,655 | 1,655 | 1,655 | NONE | null | Hi,
I tend to finetune BERT with a simple text classification task.
However, I got different results when using the huggingface library (torch 1.8.1+cu111) and google's official code (tf 1.15).
I wonder if there is any optimization in huggingface for fine-tuning bert?
By the way, I believe that I use the same hy... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17746/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17746/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17745 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17745/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17745/comments | https://api.github.com/repos/huggingface/transformers/issues/17745/events | https://github.com/huggingface/transformers/issues/17745 | 1,274,534,380 | I_kwDOCUB6oc5L99ns | 17,745 | GPT-NEOX RuntimeError | {
"login": "yupei9",
"id": 63060915,
"node_id": "MDQ6VXNlcjYzMDYwOTE1",
"avatar_url": "https://avatars.githubusercontent.com/u/63060915?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yupei9",
"html_url": "https://github.com/yupei9",
"followers_url": "https://api.github.com/users/yupei9/fo... | [] | closed | false | null | [] | [
"Hey @yupei9 - great catch! I think you're 100% right - do you want to open a PR to fix it? Also cc @sgugger ",
"Ahah sorry, I had a PR ready already since I wanted to test if the fix worked."
] | 1,655 | 1,655 | 1,655 | NONE | null | Hi, when I ran the model GPT-NEOX, I got the "RuntimeError: batch1 dim 2 must match batch2 dim1" in modeling_gpt_neox.py, line 212.
So I tried to debugg and fix this problem, I found the code "present = None if use_cache else (key, value)" in modeling_gpt_neox.py, line 146.
Is that logical wrong? and the correct co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17745/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/17745/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17744 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17744/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17744/comments | https://api.github.com/repos/huggingface/transformers/issues/17744/events | https://github.com/huggingface/transformers/pull/17744 | 1,274,497,911 | PR_kwDOCUB6oc4502Jt | 17,744 | Fix `top_k_top_p_filtering` having unintended behavior | {
"login": "unifyh",
"id": 18213435,
"node_id": "MDQ6VXNlcjE4MjEzNDM1",
"avatar_url": "https://avatars.githubusercontent.com/u/18213435?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/unifyh",
"html_url": "https://github.com/unifyh",
"followers_url": "https://api.github.com/users/unifyh/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks a lot for the fix @unifyh! "
] | 1,655 | 1,655 | 1,655 | CONTRIBUTOR | null | # What does this PR do?
- Fix `top_k_top_p_filtering` not passing `filter_value` to
`TopPLogitsWarper` causing any top-p filtered logits to be -inf
instead of specified value
- Add corresponding test
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17744/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17744/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17744",
"html_url": "https://github.com/huggingface/transformers/pull/17744",
"diff_url": "https://github.com/huggingface/transformers/pull/17744.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17744.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17743 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17743/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17743/comments | https://api.github.com/repos/huggingface/transformers/issues/17743/events | https://github.com/huggingface/transformers/pull/17743 | 1,274,264,508 | PR_kwDOCUB6oc450BWn | 17,743 | Bump notebook from 6.4.10 to 6.4.12 in /examples/research_projects/lxmert | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,655 | 1,655 | 1,655 | CONTRIBUTOR | null | Bumps [notebook](http://jupyter.org) from 6.4.10 to 6.4.12.
[](https://docs.github.com/en/github/managing-security-vulnerabilitie... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17743/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17743/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17743",
"html_url": "https://github.com/huggingface/transformers/pull/17743",
"diff_url": "https://github.com/huggingface/transformers/pull/17743.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17743.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17742 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17742/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17742/comments | https://api.github.com/repos/huggingface/transformers/issues/17742/events | https://github.com/huggingface/transformers/pull/17742 | 1,274,262,714 | PR_kwDOCUB6oc450A8S | 17,742 | Bump notebook from 6.4.10 to 6.4.12 in /examples/research_projects/visual_bert | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,655 | 1,655 | 1,655 | CONTRIBUTOR | null | Bumps [notebook](http://jupyter.org) from 6.4.10 to 6.4.12.
[](https://docs.github.com/en/github/managing-security-vulnerabilitie... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17742/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17742/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17742",
"html_url": "https://github.com/huggingface/transformers/pull/17742",
"diff_url": "https://github.com/huggingface/transformers/pull/17742.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17742.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17741 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17741/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17741/comments | https://api.github.com/repos/huggingface/transformers/issues/17741/events | https://github.com/huggingface/transformers/issues/17741 | 1,274,129,329 | I_kwDOCUB6oc5L8aux | 17,741 | InvalidGitRepositoryError while running distillation train example | {
"login": "kaliaanup",
"id": 8302569,
"node_id": "MDQ6VXNlcjgzMDI1Njk=",
"avatar_url": "https://avatars.githubusercontent.com/u/8302569?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kaliaanup",
"html_url": "https://github.com/kaliaanup",
"followers_url": "https://api.github.com/users/ka... | [
{
"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,655 | 1,675 | 1,658 | NONE | null | ### System Info
```shell
(akalia) akalia@data-workstation-akalia1-gpu-data-10:~/pretrained_rembert/distillation$ python train.py --student_type distilbert --student_config training_configs/distilbert-base-uncased.json --teacher_type bert --teacher_name bert-base-uncased --alpha_ce 5.0 --alpha_mlm 2... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17741/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17741/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17740 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17740/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17740/comments | https://api.github.com/repos/huggingface/transformers/issues/17740/events | https://github.com/huggingface/transformers/pull/17740 | 1,274,027,178 | PR_kwDOCUB6oc45zQQZ | 17,740 | Add UL2 (just docs) | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Shouldn't we also add a conversion script? Or isn't this required?",
"> Shouldn't we also add a conversion script? Or isn't this required?\r\n\r\nIt should be the same as: https://github.com/huggingface/transformers/blob/main/src/t... | 1,655 | 1,655 | 1,655 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17740/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/17740/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17740",
"html_url": "https://github.com/huggingface/transformers/pull/17740",
"diff_url": "https://github.com/huggingface/transformers/pull/17740.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17740.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17739 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17739/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17739/comments | https://api.github.com/repos/huggingface/transformers/issues/17739/events | https://github.com/huggingface/transformers/pull/17739 | 1,274,018,518 | PR_kwDOCUB6oc45zOUE | 17,739 | [WIP] DETR TF implementation | {
"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/... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
},
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTY... | open | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17739). All of your documentation changes will be reflected on that endpoint."
] | 1,655 | 1,658 | null | COLLABORATOR | null | # What does this PR do?
Add TF implementation of DETR model
Dependent on the TF implementation of ResNets being merged in to provide a backbone: https://github.com/huggingface/transformers/pull/17427
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17739/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17739/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17739",
"html_url": "https://github.com/huggingface/transformers/pull/17739",
"diff_url": "https://github.com/huggingface/transformers/pull/17739.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17739.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17738 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17738/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17738/comments | https://api.github.com/repos/huggingface/transformers/issues/17738/events | https://github.com/huggingface/transformers/pull/17738 | 1,273,907,712 | PR_kwDOCUB6oc45y2C9 | 17,738 | deprecate is_torch_bf16_available | {
"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._",
"does it look good now, Sylvain? ",
"Yes, all good :-) Thanks again!"
] | 1,655 | 1,655 | 1,655 | CONTRIBUTOR | null | This is a follow up to https://github.com/huggingface/transformers/pull/17734 where @pacman100 discovered that the IPEX PR made `is_torch_bf16_available` ambiguous, as it went from gpu-only checks to cpu or gpu which is undefined behavior.
So this PR deprecates this function in favor of the very specific `is_torch_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17738/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17738/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17738",
"html_url": "https://github.com/huggingface/transformers/pull/17738",
"diff_url": "https://github.com/huggingface/transformers/pull/17738.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17738.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17737 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17737/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17737/comments | https://api.github.com/repos/huggingface/transformers/issues/17737/events | https://github.com/huggingface/transformers/pull/17737 | 1,273,806,074 | PR_kwDOCUB6oc45ygDP | 17,737 | CLI: detect and store weights as float16 | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"id": 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 | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17737). All of your documentation changes will be reflected on that endpoint.",
"> Will TensorFlow automatically load stored FP16 weights in FP32 like PyTorch does?\r\n\r\nNo, if we inspect the variables after loading, they... | 1,655 | 1,658 | null | MEMBER | null | # What does this PR do?
Updates the `pt-to-tf` CLI to detect and store weights as float16. Battle-tested with OPT. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17737/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/17737/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17737",
"html_url": "https://github.com/huggingface/transformers/pull/17737",
"diff_url": "https://github.com/huggingface/transformers/pull/17737.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17737.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17736 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17736/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17736/comments | https://api.github.com/repos/huggingface/transformers/issues/17736/events | https://github.com/huggingface/transformers/issues/17736 | 1,273,712,383 | I_kwDOCUB6oc5L607_ | 17,736 | importing 'LongT5Model' from 'transformers' | {
"login": "jorgeutd",
"id": 30812821,
"node_id": "MDQ6VXNlcjMwODEyODIx",
"avatar_url": "https://avatars.githubusercontent.com/u/30812821?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jorgeutd",
"html_url": "https://github.com/jorgeutd",
"followers_url": "https://api.github.com/users/jor... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nLongT5 is only available in Transformers v4.20.",
"I guess it got released today. Thank you @NielsRogge you are the GOAT.",
"@NielsRogge do I still need to use the prefix:\r\n\r\nif model_checkpoint in [\"t5-small\", \"t5-base\", \"t5-larg\", \"t5-3b\", \"t5-11b\"]:\r\n prefix = \"summarize: \"\r... | 1,655 | 1,659 | 1,655 | NONE | null | Hello Team,
I am getting the following error when I am trying to import the new LongT5Model into my notebook:
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/tmp/ipykernel_55187/343105862.py in <cell line: 3... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17736/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17736/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17735 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17735/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17735/comments | https://api.github.com/repos/huggingface/transformers/issues/17735/events | https://github.com/huggingface/transformers/issues/17735 | 1,273,710,937 | I_kwDOCUB6oc5L60lZ | 17,735 | The messy code generated by opt125m. | {
"login": "920232796",
"id": 32668889,
"node_id": "MDQ6VXNlcjMyNjY4ODg5",
"avatar_url": "https://avatars.githubusercontent.com/u/32668889?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/920232796",
"html_url": "https://github.com/920232796",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @920232796 👋 `facebook/opt-125m` is a relatively small model, so it's normal that its outputs are not great (especially with `do_sample=True`). I'd suggest trying `facebook/opt-350m`.\r\n\r\nAs per our [issues guidelines](https://github.com/huggingface/transformers/blob/main/ISSUES.md), we reserve GitHub issu... | 1,655 | 1,655 | 1,655 | NONE | null | ### System Info
```shell
transformers version is 4.19.3
```
### 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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17735/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17735/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17734 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17734/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17734/comments | https://api.github.com/repos/huggingface/transformers/issues/17734/events | https://github.com/huggingface/transformers/pull/17734 | 1,273,627,981 | PR_kwDOCUB6oc45x6Au | 17,734 | Refine Bf16 test for deepspeed | {
"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,655 | 1,655 | 1,655 | COLLABORATOR | null | # What does this PR do?
This PR refines the `is_torch_b16_available` test in two separate ones for GPU and CPU are the DeepSpeed tests require the GPU bfloat16. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17734/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17734/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17734",
"html_url": "https://github.com/huggingface/transformers/pull/17734",
"diff_url": "https://github.com/huggingface/transformers/pull/17734.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17734.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17733 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17733/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17733/comments | https://api.github.com/repos/huggingface/transformers/issues/17733/events | https://github.com/huggingface/transformers/pull/17733 | 1,273,619,678 | PR_kwDOCUB6oc45x4Lh | 17,733 | Layoutlmv2 tesseractconfig | {
"login": "kelvinAI",
"id": 10686779,
"node_id": "MDQ6VXNlcjEwNjg2Nzc5",
"avatar_url": "https://avatars.githubusercontent.com/u/10686779?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kelvinAI",
"html_url": "https://github.com/kelvinAI",
"followers_url": "https://api.github.com/users/kel... | [] | closed | false | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [
{
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https:... | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@NielsRogge kindly review. Thanks!",
"> LGTM! Could you add it to LayoutLMv3's feature extractor as well?\r\n\r\nSounds good! I'll ping you when it's done. Do I need to do anything to merge this to huggingface:main? You'll trigger ... | 1,655 | 1,659 | 1,659 | CONTRIBUTOR | null | # What does this PR do?
Giving user option to set config parameter used by Tesseract when performing feature extraction. Eg. to change psm levels while performing transcription by passing in '--psm 10' to config parameter while invoking image_to_data
It is shown that changing the psm values greatly influences the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17733/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17733/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17733",
"html_url": "https://github.com/huggingface/transformers/pull/17733",
"diff_url": "https://github.com/huggingface/transformers/pull/17733.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17733.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17732 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17732/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17732/comments | https://api.github.com/repos/huggingface/transformers/issues/17732/events | https://github.com/huggingface/transformers/issues/17732 | 1,273,484,658 | I_kwDOCUB6oc5L59Vy | 17,732 | Issue with trainer.py Line#1022,1025,1035,1043,1051,1059,1061 | {
"login": "avmodi",
"id": 30557528,
"node_id": "MDQ6VXNlcjMwNTU3NTI4",
"avatar_url": "https://avatars.githubusercontent.com/u/30557528?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/avmodi",
"html_url": "https://github.com/avmodi",
"followers_url": "https://api.github.com/users/avmodi/fo... | [
{
"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 include a *complete* reproducer for the bug you are raising. Your code sample does not include many things, in particular the `TrainingArguments`.",
"```python\r\nimport logging\r\nimport os\r\nfrom statistics import mean, stdev\r\nimport sys\r\nfrom typing import Callable, Dict\r\n\r\nimport numpy as np\... | 1,655 | 1,658 | 1,658 | NONE | null | ### System Info
```shell
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.18.0
- Platform: Linux-4.14.252-131.483.amzn1.x86_64-x86_64-with-glibc2.9
- Python version: 3.6.13
- Huggingface_hub version: 0.4.0
- PyTorch version (GPU?): 1.5.0 (True)
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17732/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17732/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17731 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17731/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17731/comments | https://api.github.com/repos/huggingface/transformers/issues/17731/events | https://github.com/huggingface/transformers/pull/17731 | 1,273,483,307 | PR_kwDOCUB6oc45xavJ | 17,731 | Improve vision models | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,655 | 1,656 | 1,656 | CONTRIBUTOR | null | # What does this PR do?
This PR improves the vision models by:
- removing `to_2tuple`
- sanity checking whether the channel dimension of pixel values provided to the model match with `config.num_channels`
- replacing hardcoded 3 with `config.num_channels` for `xxxForMaskedImageModeling` models (fixes #17727)
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17731/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17731/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17731",
"html_url": "https://github.com/huggingface/transformers/pull/17731",
"diff_url": "https://github.com/huggingface/transformers/pull/17731.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17731.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17730 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17730/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17730/comments | https://api.github.com/repos/huggingface/transformers/issues/17730/events | https://github.com/huggingface/transformers/pull/17730 | 1,273,461,923 | PR_kwDOCUB6oc45xWJH | 17,730 | Fix tf shared embedding | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"All the TF weights of OPT will need to be updated if this is approved. I think I can handle that along with #17713. \r\n",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,655 | 1,655 | 1,655 | COLLABORATOR | null | # What does this PR do?
A hack was used to properly import the shared embedding weights, but it can be removed (removing it also is convenient for the sharding PR)
Found this while testing #17713. In HF's `save_pretrained` and `load_pretrained` the layer name is changed using ` name = "/".join(weight_name.split("... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17730/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17730/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17730",
"html_url": "https://github.com/huggingface/transformers/pull/17730",
"diff_url": "https://github.com/huggingface/transformers/pull/17730.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17730.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17729 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17729/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17729/comments | https://api.github.com/repos/huggingface/transformers/issues/17729/events | https://github.com/huggingface/transformers/issues/17729 | 1,273,423,171 | I_kwDOCUB6oc5L5uVD | 17,729 | Issue with trainer.py class line #1460, 2643 and 1745. | {
"login": "avmodi",
"id": 30557528,
"node_id": "MDQ6VXNlcjMwNTU3NTI4",
"avatar_url": "https://avatars.githubusercontent.com/u/30557528?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/avmodi",
"html_url": "https://github.com/avmodi",
"followers_url": "https://api.github.com/users/avmodi/fo... | [
{
"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 include a *complete* reproducer for the bug you are raising. Your code sample does not include many things, in particular the `TrainingArguments`.",
"```python\r\n\r\nimport logging\r\nimport os\r\nfrom statistics import mean, stdev\r\nimport sys\r\nfrom typing import Callable, Dict\r\n\r\nimport numpy as... | 1,655 | 1,658 | 1,658 | NONE | null | ### System Info
```shell
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.18.0
- Platform: Linux-4.14.252-131.483.amzn1.x86_64-x86_64-with-glibc2.9
- Python version: 3.6.13
- Huggingface_hub version: 0.4.0
- PyTorch version (GPU?): 1.4.0 (True)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17729/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17729/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17728 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17728/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17728/comments | https://api.github.com/repos/huggingface/transformers/issues/17728/events | https://github.com/huggingface/transformers/issues/17728 | 1,273,187,899 | I_kwDOCUB6oc5L4047 | 17,728 | CI Tests are failing in "run_tests_pipelines_tf" | {
"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/... | [
{
"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,655 | 1,655 | 1,655 | CONTRIBUTOR | null | ### System Info
```shell
CI setup for `run_tests_pipelines_tf`:
run_tests_pipelines_tf:
working_directory: ~/transformers
docker:
- image: circleci/python:3.7
environment:
OMP_NUM_THREADS: 1
RUN_PIPELINE_TESTS: yes
TRANSFORMERS_IS_CI:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17728/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17728/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17727 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17727/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17727/comments | https://api.github.com/repos/huggingface/transformers/issues/17727/events | https://github.com/huggingface/transformers/issues/17727 | 1,273,105,223 | I_kwDOCUB6oc5L4gtH | 17,727 | SimMIM output num_channels should not be hardcoded | {
"login": "ccaapton",
"id": 6211551,
"node_id": "MDQ6VXNlcjYyMTE1NTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6211551?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ccaapton",
"html_url": "https://github.com/ccaapton",
"followers_url": "https://api.github.com/users/ccaap... | [] | closed | false | null | [] | [] | 1,655 | 1,656 | 1,656 | NONE | null | ### Feature request
In all 3 simmim models, reconstructed images channel is hardcoded as 3. This should be configurable as num_channels
```
deit/modeling_deit.py
swin/modeling_swin.py
vit/modeling_vit.py
nn.Conv2d(in_channels=config.hidden_size, out_channels=config.encoder_stride**2 * 3, kernel_size=1)
```
@... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17727/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17727/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17726 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17726/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17726/comments | https://api.github.com/repos/huggingface/transformers/issues/17726/events | https://github.com/huggingface/transformers/issues/17726 | 1,273,051,465 | I_kwDOCUB6oc5L4TlJ | 17,726 | Input Packing | {
"login": "Sanger2000",
"id": 17725268,
"node_id": "MDQ6VXNlcjE3NzI1MjY4",
"avatar_url": "https://avatars.githubusercontent.com/u/17725268?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sanger2000",
"html_url": "https://github.com/Sanger2000",
"followers_url": "https://api.github.com/use... | [] | 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,655 | 1,673 | 1,658 | NONE | null | ### Feature request
Sequence packing when tokenizing inputs.
Most modern large language models pack together multiple sequences to saturate their large context windows. Otherwise, they risk wasted computation with excess padding. For example T5, GPT3, and PALM all implemented input packing.
"During training w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17726/reactions",
"total_count": 12,
"+1": 11,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17726/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17725 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17725/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17725/comments | https://api.github.com/repos/huggingface/transformers/issues/17725/events | https://github.com/huggingface/transformers/pull/17725 | 1,273,049,377 | PR_kwDOCUB6oc45v-VZ | 17,725 | Fix bug in the example of VisualBertForPreTraining | {
"login": "Jiayi-Pan",
"id": 55055083,
"node_id": "MDQ6VXNlcjU1MDU1MDgz",
"avatar_url": "https://avatars.githubusercontent.com/u/55055083?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jiayi-Pan",
"html_url": "https://github.com/Jiayi-Pan",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,655 | 1,655 | 1,655 | CONTRIBUTOR | null | VIsualBert uses bert-base-uncased tokenizer, therefore, instead of {mask}, the mask token should be [MASK] :)
- Documentation: @sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17725/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17725/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17725",
"html_url": "https://github.com/huggingface/transformers/pull/17725",
"diff_url": "https://github.com/huggingface/transformers/pull/17725.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17725.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17724 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17724/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17724/comments | https://api.github.com/repos/huggingface/transformers/issues/17724/events | https://github.com/huggingface/transformers/pull/17724 | 1,272,893,183 | PR_kwDOCUB6oc45vd5V | 17,724 | Inference benchmarks of Torchdynamo + FX2TRT(now in Torch-TensorRT) | {
"login": "frank-wei",
"id": 6955737,
"node_id": "MDQ6VXNlcjY5NTU3Mzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/6955737?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/frank-wei",
"html_url": "https://github.com/frank-wei",
"followers_url": "https://api.github.com/users/fr... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17724). All of your documentation changes will be reflected on that endpoint.",
"This looks excellent, @frank-wei, thank you for sharing the extensive benchmarks.\r\n\r\nSo the next step is to document how the users can dep... | 1,655 | 1,660 | 1,658 | CONTRIBUTOR | null | Hey HF folks:
I propose this PR as performance results preview for our SOTA inference engine combining torchdynamo+fx2trt. This PR is the based on the sound and great work in #17240 (cc @Chillee @jansel). Since the importance of torchdynamo is already emphasized in #17240, I will skip it and focus on the inference eff... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17724/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17724/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17724",
"html_url": "https://github.com/huggingface/transformers/pull/17724",
"diff_url": "https://github.com/huggingface/transformers/pull/17724.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17724.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17723 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17723/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17723/comments | https://api.github.com/repos/huggingface/transformers/issues/17723/events | https://github.com/huggingface/transformers/pull/17723 | 1,272,658,501 | PR_kwDOCUB6oc45uvOi | 17,723 | Sort the model doc Toc Alphabetically | {
"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,655 | 1,655 | 1,655 | COLLABORATOR | null | # What does this PR do?
This PR sorts a bit the ToC that has some G models in the middle of the Os | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17723/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17723/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17723",
"html_url": "https://github.com/huggingface/transformers/pull/17723",
"diff_url": "https://github.com/huggingface/transformers/pull/17723.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17723.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17722 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17722/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17722/comments | https://api.github.com/repos/huggingface/transformers/issues/17722/events | https://github.com/huggingface/transformers/pull/17722 | 1,272,586,861 | PR_kwDOCUB6oc45ufnM | 17,722 | normalize keys_to_ignore | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,655 | 1,655 | 1,655 | CONTRIBUTOR | null | as discussed at https://github.com/huggingface/transformers/issues/16719#issuecomment-1156599137 this PR normalizes `_keys_to_ignore_on*` to not backslash on dot, unless it's an actual regex with regex patterns - this is just for consistency and easier troubleshooting. As sometimes it's unclear if `\` is needed or not ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17722/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17722/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17722",
"html_url": "https://github.com/huggingface/transformers/pull/17722",
"diff_url": "https://github.com/huggingface/transformers/pull/17722.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17722.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17721 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17721/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17721/comments | https://api.github.com/repos/huggingface/transformers/issues/17721/events | https://github.com/huggingface/transformers/pull/17721 | 1,272,508,890 | PR_kwDOCUB6oc45uOv2 | 17,721 | [tests] workaround for relative dataset path | {
"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._",
"the just released `datasets==2.3.2` fixed the bug, so closing this PR."
] | 1,655 | 1,655 | 1,655 | CONTRIBUTOR | null | `datasets==2.3.1` introduced a bug where it fails to load a dataset via a path that contains `..`.
This PR works around it by avoiding this situation in the tests.
@sgugger, @ydshieh | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17721/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/17721/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17721",
"html_url": "https://github.com/huggingface/transformers/pull/17721",
"diff_url": "https://github.com/huggingface/transformers/pull/17721.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17721.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17720 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17720/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17720/comments | https://api.github.com/repos/huggingface/transformers/issues/17720/events | https://github.com/huggingface/transformers/pull/17720 | 1,272,494,136 | PR_kwDOCUB6oc45uLmc | 17,720 | CLI: Add flag to push TF weights directly into main | {
"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 | [] | [
"Yes yes yes! Maybe users could just set a flag, like \"auto-convert my weights\" and then we could have a machine that tracks their repos, looks for weights files that have changed and auto-updates versions for the other frameworks?",
"_The documentation is not available anymore as the PR was closed or merged._"... | 1,655 | 1,655 | 1,655 | MEMBER | null | # What does this PR do?
Adds the `--push` flag to the `pt-to-tf` CLI, to enabling pushing straight to main (assuming the user has the right permissions).
Why am I adding this flag? A few users mentioned that they would be interested in having TF weights silently pushed straight into their repos. With this flag, I... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17720/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17720/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17720",
"html_url": "https://github.com/huggingface/transformers/pull/17720",
"diff_url": "https://github.com/huggingface/transformers/pull/17720.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17720.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17719 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17719/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17719/comments | https://api.github.com/repos/huggingface/transformers/issues/17719/events | https://github.com/huggingface/transformers/pull/17719 | 1,272,487,464 | PR_kwDOCUB6oc45uKLC | 17,719 | [example] image classification example requires newer datasets version | {
"login": "jeffra",
"id": 645595,
"node_id": "MDQ6VXNlcjY0NTU5NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/645595?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeffra",
"html_url": "https://github.com/jeffra",
"followers_url": "https://api.github.com/users/jeffra/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,655 | 1,655 | 1,655 | CONTRIBUTOR | null | # What does this PR do?
The DeepSpeed + Transformers integration tests are showing issues with this example. We install `datastes >= 1.8.0` in the requirements.txt for this example. However, in running the example it requires `datasets.Image()` which wasn't introduced in datasets until 1.17.0 (as far as I can tell).... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17719/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17719/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17719",
"html_url": "https://github.com/huggingface/transformers/pull/17719",
"diff_url": "https://github.com/huggingface/transformers/pull/17719.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17719.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17718 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17718/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17718/comments | https://api.github.com/repos/huggingface/transformers/issues/17718/events | https://github.com/huggingface/transformers/issues/17718 | 1,272,459,107 | I_kwDOCUB6oc5L2C9j | 17,718 | `max_length` and `stopping_criteria` in generate() | {
"login": "nitaytech",
"id": 56558412,
"node_id": "MDQ6VXNlcjU2NTU4NDEy",
"avatar_url": "https://avatars.githubusercontent.com/u/56558412?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nitaytech",
"html_url": "https://github.com/nitaytech",
"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 | {
"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... | [
{
"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... | [
"Hey @nitaytech 👋 The behavior surrounding `max_length` can't be changed, as it would not be backwards compatible. But we also don't like its behavior for the reasons you described, hence the plans to deprecate (and the warning).\r\n\r\nAs per [this recent discussion](https://github.com/huggingface/transformers/is... | 1,655 | 1,671 | 1,661 | NONE | null | ### System Info
```shell
- `transformers` version: 4.19.2
- Platform: Linux-5.13.0-44-generic-x86_64-with-glibc2.31
- Python version: 3.10.4
- Huggingface_hub version: 0.7.0
- PyTorch version (GPU?): 1.11.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17718/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17718/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17717 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17717/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17717/comments | https://api.github.com/repos/huggingface/transformers/issues/17717/events | https://github.com/huggingface/transformers/pull/17717 | 1,272,432,678 | PR_kwDOCUB6oc45t-Wo | 17,717 | Revert "Change push CI to run on workflow_run event" | {
"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._",
"merged to avoid further test failures"
] | 1,655 | 1,655 | 1,655 | COLLABORATOR | null | Reverts huggingface/transformers#17692
Really sorry, but the `notification_service.py` has error
```
Traceback (most recent call last):
File "utils/notification_service.py", line 766, in <module>
ci_author = ci_details["author"]["login"]
KeyError: 'author'
```
as the GH event is no longer coupled wi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17717/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17717/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17717",
"html_url": "https://github.com/huggingface/transformers/pull/17717",
"diff_url": "https://github.com/huggingface/transformers/pull/17717.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17717.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17716 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17716/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17716/comments | https://api.github.com/repos/huggingface/transformers/issues/17716/events | https://github.com/huggingface/transformers/pull/17716 | 1,272,408,717 | PR_kwDOCUB6oc45t5L4 | 17,716 | Prepare transformers for v0.8.0 huggingface-hub release | {
"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,655 | 1,655 | 1,655 | MEMBER | null | Updates the staging endpoint to use `hub-ci` instead of `moon-staging`.
This should be merged only once v0.8.0 is released. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17716/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17716/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17716",
"html_url": "https://github.com/huggingface/transformers/pull/17716",
"diff_url": "https://github.com/huggingface/transformers/pull/17716.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17716.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17715 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17715/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17715/comments | https://api.github.com/repos/huggingface/transformers/issues/17715/events | https://github.com/huggingface/transformers/pull/17715 | 1,272,387,505 | PR_kwDOCUB6oc45t0l3 | 17,715 | Make datasets<=2.2.2 for a quick fix for test failures | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | {
"login": "lhoestq",
"id": 42851186,
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhoestq",
"html_url": "https://github.com/lhoestq",
"followers_url": "https://api.github.com/users/lhoest... | [
{
"login": "lhoestq",
"id": 42851186,
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhoestq",
"html_url": "https://github.com/lhoestq",
"followers_url": "https://api.git... | [
"A full error message is\r\n\r\n```\r\n2022-06-15T03:19:39.4149310Z =================================== FAILURES ===================================\r\n2022-06-15T03:19:39.4149596Z _______________________ TestTrainerExt.test_run_seq2seq ________________________\r\n2022-06-15T03:19:39.4149773Z \r\n2022-06-15T03:19:3... | 1,655 | 1,655 | 1,655 | COLLABORATOR | null | # What does this PR do?
Currently, we have a lot of test failures (scheduled CI) with
```
FileNotFoundError: Unable to find '/transformers/tests/extended/../fixtures/tests_samples/wmt_en_ro/train.json' at /transformers
```
which is caused by the release of `datasets 2.3.x`.
This PR changes to "datasets<=2.2... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17715/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17715/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17715",
"html_url": "https://github.com/huggingface/transformers/pull/17715",
"diff_url": "https://github.com/huggingface/transformers/pull/17715.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17715.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17714 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17714/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17714/comments | https://api.github.com/repos/huggingface/transformers/issues/17714/events | https://github.com/huggingface/transformers/issues/17714 | 1,272,244,643 | I_kwDOCUB6oc5L1Omj | 17,714 | SegFormer feature extractor `do_normalize=False` | {
"login": "johnnv1",
"id": 20444345,
"node_id": "MDQ6VXNlcjIwNDQ0MzQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/20444345?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/johnnv1",
"html_url": "https://github.com/johnnv1",
"followers_url": "https://api.github.com/users/johnnv... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
},
{
"id": 4235521865,
"node_id": "LA_kwDOCUB6oc78dO9J",
"url": "ht... | 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,655 | 1,662 | 1,662 | CONTRIBUTOR | null | ### System Info
```shell
- `transformers` version: 4.18.0
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.7.0
- PyTorch version (GPU?): 1.11.0+cu113 (True)
- Tensorflow version (GPU?): 2.8.2 (True)
- Flax version (CPU?/GPU?/TPU?): not installed ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17714/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17714/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17713 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17713/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17713/comments | https://api.github.com/repos/huggingface/transformers/issues/17713/events | https://github.com/huggingface/transformers/pull/17713 | 1,272,228,378 | PR_kwDOCUB6oc45tSFI | 17,713 | TF Sharded | {
"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... | [
{
"id": 1834054694,
"node_id": "MDU6TGFiZWwxODM0MDU0Njk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/TensorFlow",
"name": "TensorFlow",
"color": "FF6F00",
"default": false,
"description": "Anything TensorFlow"
},
{
"id": 1834056761,
"node_id": "MDU6... | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Okay so the tfopt_for_causal_lm/tfopt_model \r\nprefix from the tfopt_for_causal_lm/model/decoder/embed_positions/weight:0 in the index json comes from the actual name of the layer (so tf side). This also creates the hack that we so... | 1,655 | 1,655 | 1,655 | COLLABORATOR | null | # What does this PR do?
Introduces the sharding of TF models following the pytroch implementation.
A simple working example is the following :
```python
from transformers import TFOPTModel
save_directory = "opt-350m"
model = TFOPTModel.from_pretrained("facebook/opt-350m")
model.save_pretrained(save_dire... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17713/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17713/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17713",
"html_url": "https://github.com/huggingface/transformers/pull/17713",
"diff_url": "https://github.com/huggingface/transformers/pull/17713.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17713.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17712 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17712/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17712/comments | https://api.github.com/repos/huggingface/transformers/issues/17712/events | https://github.com/huggingface/transformers/pull/17712 | 1,272,200,717 | PR_kwDOCUB6oc45tMDf | 17,712 | Fix Automatic Download of Pretrained Weights in DETR | {
"login": "AnugunjNaman",
"id": 42839570,
"node_id": "MDQ6VXNlcjQyODM5NTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/42839570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AnugunjNaman",
"html_url": "https://github.com/AnugunjNaman",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@NielsRogge ",
"@NielsRogge Any Update here?"
] | 1,655 | 1,655 | 1,655 | CONTRIBUTOR | null | # What does this PR do?
Fixes #15764 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17712/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17712/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17712",
"html_url": "https://github.com/huggingface/transformers/pull/17712",
"diff_url": "https://github.com/huggingface/transformers/pull/17712.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17712.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17711 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17711/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17711/comments | https://api.github.com/repos/huggingface/transformers/issues/17711/events | https://github.com/huggingface/transformers/pull/17711 | 1,272,093,069 | PR_kwDOCUB6oc45s0pC | 17,711 | Make attention_mask axes dynamic when exporting onnx | {
"login": "unbuilt",
"id": 1238408,
"node_id": "MDQ6VXNlcjEyMzg0MDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1238408?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/unbuilt",
"html_url": "https://github.com/unbuilt",
"followers_url": "https://api.github.com/users/unbuilt/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17711). All of your documentation changes will be reflected on that endpoint.",
"cc @michaelbenayoun @lewtun ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this ... | 1,655 | 1,665 | 1,665 | NONE | null | # What does this PR do?
Make `attention_mask` axes dynamic when exporting onnx
## Who can review?
[@fatcat-z](https://github.com/fatcat-z)
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17711/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17711/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17711",
"html_url": "https://github.com/huggingface/transformers/pull/17711",
"diff_url": "https://github.com/huggingface/transformers/pull/17711.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17711.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17710 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17710/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17710/comments | https://api.github.com/repos/huggingface/transformers/issues/17710/events | https://github.com/huggingface/transformers/pull/17710 | 1,272,014,911 | PR_kwDOCUB6oc45sjjF | 17,710 | [ViTMAE] Fix docstrings and variable names | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,655 | 1,655 | 1,655 | CONTRIBUTOR | null | # What does this PR do?
Fixes #17473
Fixes #17665
This PR improves the docstrings and variable names of the patchify, unpatchify and forward_loss methods of ViTMAE. This way, also the number of channels isn't hardcoded anymore.
cc @sayakpaul | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17710/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17710/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17710",
"html_url": "https://github.com/huggingface/transformers/pull/17710",
"diff_url": "https://github.com/huggingface/transformers/pull/17710.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17710.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17709 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17709/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17709/comments | https://api.github.com/repos/huggingface/transformers/issues/17709/events | https://github.com/huggingface/transformers/pull/17709 | 1,271,845,071 | PR_kwDOCUB6oc45r_N- | 17,709 | [Wav2Vec2Conformer] Official release | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Wait, how was the repo-consistency check passing without this? It should have given a big red cross.",
"> Wait, how was the repo-consistency check passing without this? It should have given a big red cross.\r\n\r\nWhat is the probl... | 1,655 | 1,655 | 1,655 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17709/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17709/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17709",
"html_url": "https://github.com/huggingface/transformers/pull/17709",
"diff_url": "https://github.com/huggingface/transformers/pull/17709.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17709.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17708 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17708/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17708/comments | https://api.github.com/repos/huggingface/transformers/issues/17708/events | https://github.com/huggingface/transformers/pull/17708 | 1,271,732,626 | PR_kwDOCUB6oc45rnkw | 17,708 | Fix duplicate code at T5Model | {
"login": "lkm2835",
"id": 30465912,
"node_id": "MDQ6VXNlcjMwNDY1OTEy",
"avatar_url": "https://avatars.githubusercontent.com/u/30465912?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lkm2835",
"html_url": "https://github.com/lkm2835",
"followers_url": "https://api.github.com/users/lkm283... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hey @lkm2835,\r\n\r\ncould you give a bit more feedback on why this is not necessary? I don't exactly see why this is necessary at the moment.",
"Oh, sorry @patrickvonplaten \r\n\r\n1411-1412 and 1414-1415 are same code.\r\n```\r\n... | 1,655 | 1,655 | 1,655 | CONTRIBUTOR | null | # What does this PR do?
Unlike `T5ForConditionalGeneration`, it doesn't seem to be necessary at `T5Model`.
@patrickvonplaten
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17708/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17708/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17708",
"html_url": "https://github.com/huggingface/transformers/pull/17708",
"diff_url": "https://github.com/huggingface/transformers/pull/17708.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17708.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17707 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17707/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17707/comments | https://api.github.com/repos/huggingface/transformers/issues/17707/events | https://github.com/huggingface/transformers/issues/17707 | 1,271,732,445 | I_kwDOCUB6oc5LzRjd | 17,707 | DensePhrase: StopIteration: Caught StopIteration in replica 0 on device 0. | {
"login": "xixiaoyao",
"id": 24541791,
"node_id": "MDQ6VXNlcjI0NTQxNzkx",
"avatar_url": "https://avatars.githubusercontent.com/u/24541791?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xixiaoyao",
"html_url": "https://github.com/xixiaoyao",
"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 | [] | [
"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,655 | 1,658 | 1,658 | NONE | null | ### System Info
```shell
densephrase == 1.0
- `transformers` version: 2.9.0
- Platform: Linux-4.14.0_1-0-0-39-x86_64-with-centos-7.9.2009-Core
- Python version: 3.7.13
- PyTorch version (GPU?): 1.9.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: <fill in>
- Using distributed o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17707/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17707/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17706 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17706/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17706/comments | https://api.github.com/repos/huggingface/transformers/issues/17706/events | https://github.com/huggingface/transformers/issues/17706 | 1,271,659,472 | I_kwDOCUB6oc5Ly_vQ | 17,706 | QuestionAnsweringPipeline returns full context in Japanese | {
"login": "KoichiYasuoka",
"id": 15098598,
"node_id": "MDQ6VXNlcjE1MDk4NTk4",
"avatar_url": "https://avatars.githubusercontent.com/u/15098598?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KoichiYasuoka",
"html_url": "https://github.com/KoichiYasuoka",
"followers_url": "https://api.githu... | [
{
"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 suspect that \"encoding\" in Japanese models do not work at https://github.com/huggingface/transformers/blob/main/src/transformers/pipelines/question_answering.py#L452\r\nbut I'm vague how to fix.",
"Hi @KoichiYasuoka 👋 As per our [issues guidelines](https://github.com/huggingface/transformers/blob/main/ISSU... | 1,655 | 1,660 | 1,660 | CONTRIBUTOR | null | ### System Info
```shell
- `transformers` version: 4.19.4
- Platform: Linux-5.10.0-13-amd64-x86_64-with-glibc2.31
- Python version: 3.9.2
- Huggingface_hub version: 0.1.0
- PyTorch version (GPU?): 1.11.0+cu102 (False)
```
### Who can help?
@Narsil @sgugger
### Information
- [X] The official example scripts
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17706/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17706/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17705 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17705/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17705/comments | https://api.github.com/repos/huggingface/transformers/issues/17705/events | https://github.com/huggingface/transformers/issues/17705 | 1,271,595,435 | I_kwDOCUB6oc5LywGr | 17,705 | mBART generate random strings in end of sentence | {
"login": "ZeguanXiao",
"id": 38279341,
"node_id": "MDQ6VXNlcjM4Mjc5MzQx",
"avatar_url": "https://avatars.githubusercontent.com/u/38279341?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZeguanXiao",
"html_url": "https://github.com/ZeguanXiao",
"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 | [] | [] | 1,655 | 1,655 | 1,655 | NONE | null | ### System Info
```shell
transformers==4.19.2
```
### Who can help?
@patil-suraj@patrickvonplaten, @Narsil, @gante
### Information
- [ ] The official example scripts
- [x] 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/17705/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17705/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17704 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17704/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17704/comments | https://api.github.com/repos/huggingface/transformers/issues/17704/events | https://github.com/huggingface/transformers/issues/17704 | 1,271,108,260 | I_kwDOCUB6oc5Lw5Kk | 17,704 | Cannot run run_qa.py due to "ImportError: cannot import name 'send_example_telemetry'" | {
"login": "maria364",
"id": 13906264,
"node_id": "MDQ6VXNlcjEzOTA2MjY0",
"avatar_url": "https://avatars.githubusercontent.com/u/13906264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/maria364",
"html_url": "https://github.com/maria364",
"followers_url": "https://api.github.com/users/mar... | [
{
"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, did you solve this problem, I have the same problem now",
"@maria364 \r\nHi, did you solve this problem, I have the same problem now TAT",
"Hi, I am experiencing the same problem when trying to run \"run_mlm.py\".",
"Hi, @maria364 @xueqianyi @DidiDerDenker Could you try the latest version of `transforme... | 1,655 | 1,656 | 1,655 | NONE | null | ### System Info
```shell
- `transformers` version: 4.18.0.dev0
- Platform: Linux-4.15.0-180-generic-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- Huggingface_hub version: 0.4.0
- PyTorch version (GPU?): 1.10.0+cu102 (True)
- Tensorflow version (GPU?): 2.6.2 (False)
- Flax version (CPU?/GPU?/TPU?): no... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17704/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17704/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17703 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17703/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17703/comments | https://api.github.com/repos/huggingface/transformers/issues/17703/events | https://github.com/huggingface/transformers/issues/17703 | 1,271,015,965 | I_kwDOCUB6oc5Lwiod | 17,703 | Add Flax implementation for BLOOM | {
"login": "haileyschoelkopf",
"id": 65563625,
"node_id": "MDQ6VXNlcjY1NTYzNjI1",
"avatar_url": "https://avatars.githubusercontent.com/u/65563625?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/haileyschoelkopf",
"html_url": "https://github.com/haileyschoelkopf",
"followers_url": "https://... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Hi!\nThank you very much for the contribution!\nOn my side it's a green light since I am not working on it, and it is not on my plans for now. Therefore, I'll be happy to review it! Let us know if you want to work on that :)",
"Thanks! I will open a WIP PR soon and tag you there once I do.",
"Very cool idea - ... | 1,655 | 1,655 | null | CONTRIBUTOR | null | ### Model description
I'm interested in adding an implementation of BLOOM in Flax.
The implementation shouldn't be too bad since the pytorch implementation can serve as a guide and a way to check correctness.
### Open source status
- [X] The model implementation is available
- [X] The model weights are avai... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17703/reactions",
"total_count": 9,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 3,
"confused": 0,
"heart": 2,
"rocket": 4,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17703/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17702 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17702/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17702/comments | https://api.github.com/repos/huggingface/transformers/issues/17702/events | https://github.com/huggingface/transformers/pull/17702 | 1,270,960,492 | PR_kwDOCUB6oc45pEek | 17,702 | [LongT5] disable model parallel test | {
"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/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Thank you for the quick action, @patil-suraj ❤️\r\n> \r\n> Just to know: we no longer add `parallelize` to new models, right, like what @patrickvonplaten said it's outdated?\r\n\r\nYes, because now any model can be parallelized usi... | 1,655 | 1,655 | 1,655 | MEMBER | null | # What does this PR do?
LongT5 doesn't implement the old model parallel logic. This PR disables the model parallel tests for longt5. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17702/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/17702/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17702",
"html_url": "https://github.com/huggingface/transformers/pull/17702",
"diff_url": "https://github.com/huggingface/transformers/pull/17702.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17702.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17701 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17701/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17701/comments | https://api.github.com/repos/huggingface/transformers/issues/17701/events | https://github.com/huggingface/transformers/pull/17701 | 1,270,879,599 | PR_kwDOCUB6oc45ozS5 | 17,701 | Add a TF in-graph tokenizer for BERT | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger @gante I'm happy with this PR now, so I'm ready for a final review! Also, the tests are slightly slow (~1min for the whole test suite on a single core). Should I mark some of them as `@slow`, or will they only be run nightly... | 1,655 | 1,656 | 1,656 | MEMBER | null | Hey all! I've done some testing and the in-graph BERT tokenizer is now yielding the same outputs as our tokenizers, even for multi-part texts where we need to concatenate and get `token_type_ids` right. There's still several things left to do before this is ready, but I figured now is the time to lay it out and get som... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17701/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17701/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17701",
"html_url": "https://github.com/huggingface/transformers/pull/17701",
"diff_url": "https://github.com/huggingface/transformers/pull/17701.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17701.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17700 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17700/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17700/comments | https://api.github.com/repos/huggingface/transformers/issues/17700/events | https://github.com/huggingface/transformers/pull/17700 | 1,270,650,698 | PR_kwDOCUB6oc45oCKX | 17,700 | [LongT5] Rename checkpoitns | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@patrickvonplaten Thanks for fixing this! I realized later it's not ideal to use any capital letters."
] | 1,655 | 1,655 | 1,655 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17700/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/17700/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17700",
"html_url": "https://github.com/huggingface/transformers/pull/17700",
"diff_url": "https://github.com/huggingface/transformers/pull/17700.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17700.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17699 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17699/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17699/comments | https://api.github.com/repos/huggingface/transformers/issues/17699/events | https://github.com/huggingface/transformers/pull/17699 | 1,270,643,752 | PR_kwDOCUB6oc45oApk | 17,699 | Update-longt5 | {
"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/... | [] | closed | false | null | [] | [] | 1,655 | 1,655 | 1,655 | MEMBER | null | # What does this PR do?
Fix checkpoint names in LongT5.
cc @stancld | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17699/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17699/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17699",
"html_url": "https://github.com/huggingface/transformers/pull/17699",
"diff_url": "https://github.com/huggingface/transformers/pull/17699.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17699.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17698 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17698/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17698/comments | https://api.github.com/repos/huggingface/transformers/issues/17698/events | https://github.com/huggingface/transformers/pull/17698 | 1,270,641,018 | PR_kwDOCUB6oc45oADW | 17,698 | Italian/accelerate | {
"login": "mfumanelli",
"id": 53374883,
"node_id": "MDQ6VXNlcjUzMzc0ODgz",
"avatar_url": "https://avatars.githubusercontent.com/u/53374883?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfumanelli",
"html_url": "https://github.com/mfumanelli",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing gu... | 1,655 | 1,658 | 1,658 | CONTRIBUTOR | null | # What does this PR do?
Italian translation of accelerate.mdx
See issue: https://github.com/huggingface/transformers/issues/17459
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17698/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17698/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17698",
"html_url": "https://github.com/huggingface/transformers/pull/17698",
"diff_url": "https://github.com/huggingface/transformers/pull/17698.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17698.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17697 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17697/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17697/comments | https://api.github.com/repos/huggingface/transformers/issues/17697/events | https://github.com/huggingface/transformers/issues/17697 | 1,270,350,727 | I_kwDOCUB6oc5LuAOH | 17,697 | Need the ability to modify PSM values for Tesseract call in LayoutLM V2/ XLM / V3 Processor | {
"login": "kelvinAI",
"id": 10686779,
"node_id": "MDQ6VXNlcjEwNjg2Nzc5",
"avatar_url": "https://avatars.githubusercontent.com/u/10686779?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kelvinAI",
"html_url": "https://github.com/kelvinAI",
"followers_url": "https://api.github.com/users/kel... | [] | closed | false | null | [] | [
"cc @NielsRogge ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/ma... | 1,655 | 1,659 | 1,659 | CONTRIBUTOR | null | ### Feature request
There exists a need to modify PSM values while calling Tesseract during feature extraction stage with OCR enabled.
https://github.com/huggingface/transformers/blob/31ee80d55673f32c0f5d50936f371e661b74b21a/src/transformers/models/layoutlmv3/feature_extraction_layoutlmv3.py#L53
### Motivation
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17697/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17697/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17696 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17696/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17696/comments | https://api.github.com/repos/huggingface/transformers/issues/17696/events | https://github.com/huggingface/transformers/issues/17696 | 1,270,350,542 | I_kwDOCUB6oc5LuALO | 17,696 | TypeError: can't pickle _thread.lock objects | {
"login": "abs-xyz",
"id": 96618009,
"node_id": "U_kgDOBcJGGQ",
"avatar_url": "https://avatars.githubusercontent.com/u/96618009?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abs-xyz",
"html_url": "https://github.com/abs-xyz",
"followers_url": "https://api.github.com/users/abs-xyz/follow... | [
{
"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,655 | 1,677 | 1,658 | NONE | null | ### System Info
```shell
- `transformers` version: 4.19.4
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.7.0
- PyTorch version (GPU?): 1.11.0+cu113 (False)
- Tensorflow version (GPU?): 2.8.2 (False)
[Google Colab]
```
### Who can help?
@amogk... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17696/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17696/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17695 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17695/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17695/comments | https://api.github.com/repos/huggingface/transformers/issues/17695/events | https://github.com/huggingface/transformers/issues/17695 | 1,269,799,851 | I_kwDOCUB6oc5Lr5ur | 17,695 | Difference in the number of data during deep learning | {
"login": "rurujisu",
"id": 107429090,
"node_id": "U_kgDOBmc84g",
"avatar_url": "https://avatars.githubusercontent.com/u/107429090?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rurujisu",
"html_url": "https://github.com/rurujisu",
"followers_url": "https://api.github.com/users/rurujisu/... | [
{
"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 @rurujisu 👋 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 requests, we'd like to invite you to use our [forum](https://discuss.huggingface.co/) 🤗 ",
"This issue has ... | 1,655 | 1,658 | 1,658 | NONE | null | ### System Info
```shell
Python 3
```
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details bel... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17695/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17695/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17694 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17694/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17694/comments | https://api.github.com/repos/huggingface/transformers/issues/17694/events | https://github.com/huggingface/transformers/issues/17694 | 1,269,737,282 | I_kwDOCUB6oc5LrqdC | 17,694 | In run_mlm.py the group_texts function incorrectly splits the text into lists of chars | {
"login": "simonhughes22",
"id": 2167017,
"node_id": "MDQ6VXNlcjIxNjcwMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2167017?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/simonhughes22",
"html_url": "https://github.com/simonhughes22",
"followers_url": "https://api.github.... | [
{
"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 | [] | [
"opened in accident, you are deleting that column"
] | 1,655 | 1,655 | 1,655 | NONE | null | ### System Info
```shell
Testing the code for the run_mlm.py - https://github.com/huggingface/transformers/blob/main/examples/pytorch/language-modeling/run_mlm.py to pull it into a separate notebook, I came across an issue with how the group_texts function is being used. Right now it correctly concatenates the input_i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17694/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17694/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17693 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17693/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17693/comments | https://api.github.com/repos/huggingface/transformers/issues/17693/events | https://github.com/huggingface/transformers/pull/17693 | 1,269,646,980 | PR_kwDOCUB6oc45krye | 17,693 | Swin main layer | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,655 | 1,655 | 1,655 | COLLABORATOR | null | # What does this PR do?
Refactor the Swin model to have a `MainLayer` which is called by all models to get the Swin outputs (pre-head).
c.f. [relevant comment](https://github.com/huggingface/transformers/pull/17427#discussion_r895278064) from @sayakpaul on ResNet port
The following script was run to check wei... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17693/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17693/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17693",
"html_url": "https://github.com/huggingface/transformers/pull/17693",
"diff_url": "https://github.com/huggingface/transformers/pull/17693.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17693.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17692 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17692/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17692/comments | https://api.github.com/repos/huggingface/transformers/issues/17692/events | https://github.com/huggingface/transformers/pull/17692 | 1,269,622,718 | PR_kwDOCUB6oc45kmn2 | 17,692 | Change push CI to run on workflow_run event | {
"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._",
"@sgugger I merged this PR, you can check on the commit history page\r\n\r\n[Change push CI to run on workflow_run event](https://github.com/huggingface/transformers/commits/main)\r\n\r\nHope you ❤️ it!",
"Amazing, thanks a lot!",
... | 1,655 | 1,655 | 1,655 | COLLABORATOR | null | # What does this PR do?
The attempt in #17369 (to make commit history status checks less noisy) unfortunately has no effect.
After a discussion in [this comment](https://github.com/huggingface/transformers/pull/17369#issuecomment-1153846717), this PR changes push CI to be triggered by a `on: workflow_run` event.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17692/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17692/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17692",
"html_url": "https://github.com/huggingface/transformers/pull/17692",
"diff_url": "https://github.com/huggingface/transformers/pull/17692.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17692.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17691 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17691/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17691/comments | https://api.github.com/repos/huggingface/transformers/issues/17691/events | https://github.com/huggingface/transformers/issues/17691 | 1,269,586,043 | I_kwDOCUB6oc5LrFh7 | 17,691 | "comet-ml not installed" error in Trainer (despite comet-ml being installed) | {
"login": "przecze",
"id": 25085890,
"node_id": "MDQ6VXNlcjI1MDg1ODkw",
"avatar_url": "https://avatars.githubusercontent.com/u/25085890?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/przecze",
"html_url": "https://github.com/przecze",
"followers_url": "https://api.github.com/users/przecz... | [
{
"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 ",
"As the error message indicates, you need to have cometml installed to use it `report_to=\"comet_ml\"`\r\n```\r\nRuntimeError: CometCallback requires comet-ml to be installed. Run `pip install comet-ml`.\r\n```\r\nIt also tells you exactly which command to run to fix this: `pip install comet-ml`."... | 1,655 | 1,703 | 1,662 | NONE | null | ### System Info
```shell
- `transformers` version: 4.19.4
- Platform: Linux-4.19.0-17-amd64-x86_64-with-glibc2.31
- Python version: 3.9.6
- Huggingface_hub version: 0.4.0
- PyTorch version (GPU?): 1.11.0+cu102 (False)
- Tensorflow version (GPU?): 2.4.1 (False)
- Flax version (CPU?/GPU?/TPU?): 0.4.0 (cpu)
- Jax ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17691/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17691/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17690 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17690/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17690/comments | https://api.github.com/repos/huggingface/transformers/issues/17690/events | https://github.com/huggingface/transformers/issues/17690 | 1,269,532,792 | I_kwDOCUB6oc5Lq4h4 | 17,690 | GPT-2 based models generation breaks when adding new special tokens | {
"login": "NtaylorOX",
"id": 49034323,
"node_id": "MDQ6VXNlcjQ5MDM0MzIz",
"avatar_url": "https://avatars.githubusercontent.com/u/49034323?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NtaylorOX",
"html_url": "https://github.com/NtaylorOX",
"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 | [] | [
"Hey @NtaylorOX,\r\n\r\nSorry I'm not following a 100% here what the problem is here. I can run all of the above samples without a problem and I don't see exactly what the bug is here. Could you maybe copy-paste a single code snippet here that shows the error and then explain what the output should be? :-) \r\n\r\n... | 1,655 | 1,657 | 1,657 | NONE | null | ### System Info
```shell
- `transformers` version: 4.19.4
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.7.0
- PyTorch version (GPU?): 1.11.0+cu113 (True)
- Tensorflow version (GPU?): 2.8.2 (True)
- Flax version (CPU?/GPU?/TPU?): not installed ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17690/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17690/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17689 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17689/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17689/comments | https://api.github.com/repos/huggingface/transformers/issues/17689/events | https://github.com/huggingface/transformers/pull/17689 | 1,269,389,148 | PR_kwDOCUB6oc45jz4_ | 17,689 | Include a comment to reflect Amy's contributions | {
"login": "sayakpaul",
"id": 22957388,
"node_id": "MDQ6VXNlcjIyOTU3Mzg4",
"avatar_url": "https://avatars.githubusercontent.com/u/22957388?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sayakpaul",
"html_url": "https://github.com/sayakpaul",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger forgot tagging you.",
"Hey @sayakpaul, that's really admirable, thank you for that. I personally don't think it needs to be in a comment, as the code isn't where attribution lies, and would clutter the code with non-techni... | 1,655 | 1,655 | 1,655 | MEMBER | null | This PR adds a note to `src/transformers/modeling_tf_pytorch_utils.py` to reflect @amyeroberts's contributions suggested in https://github.com/huggingface/transformers/pull/17571. It is an oversight on my end that I forgot to mention in the first place.
I hope it's viewed as a mistake and not as a plagiarism attemp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17689/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/17689/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17689",
"html_url": "https://github.com/huggingface/transformers/pull/17689",
"diff_url": "https://github.com/huggingface/transformers/pull/17689.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17689.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17688 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17688/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17688/comments | https://api.github.com/repos/huggingface/transformers/issues/17688/events | https://github.com/huggingface/transformers/issues/17688 | 1,269,286,813 | I_kwDOCUB6oc5Lp8ed | 17,688 | clm example training script uses larger train/eval data than it should | {
"login": "mayankjobanputra",
"id": 10355927,
"node_id": "MDQ6VXNlcjEwMzU1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/10355927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mayankjobanputra",
"html_url": "https://github.com/mayankjobanputra",
"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 | [] | [
"If you approve that this is a legitimate bug, then please let me know I will open the PR.",
"This is completely intended and not a bug. Sample/example is meant as one processed training/evaluation example, which is what is done here.",
"Yeah maybe for my purposes I needed it to filter the number of samples bef... | 1,655 | 1,655 | 1,655 | NONE | null | ### System Info
```shell
- `transformers` version: 4.12.3
- Platform: Linux-4.15.0-180-generic-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.9.1+cu111 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17688/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17688/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17687 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17687/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17687/comments | https://api.github.com/repos/huggingface/transformers/issues/17687/events | https://github.com/huggingface/transformers/issues/17687 | 1,269,183,855 | I_kwDOCUB6oc5LpjVv | 17,687 | how can I use emformer checkpoint? | {
"login": "dykim3",
"id": 100189969,
"node_id": "U_kgDOBfjHEQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100189969?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dykim3",
"html_url": "https://github.com/dykim3",
"followers_url": "https://api.github.com/users/dykim3/follower... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nEmformer hasn't been added to the library yet.",
"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://g... | 1,655 | 1,657 | 1,657 | NONE | null | ### Feature request
ImportError Traceback (most recent call last)
<ipython-input-1-7a40e4bd817f> in <module>
----> 1 from transformers import EmformerForRNNT
2
3 model = EmformerForRNNT.from_pretrained("anton-l/emformer-base-librispeech")
ImportError: cannot import nam... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17687/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17687/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17686 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17686/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17686/comments | https://api.github.com/repos/huggingface/transformers/issues/17686/events | https://github.com/huggingface/transformers/pull/17686 | 1,268,897,208 | PR_kwDOCUB6oc45iK49 | 17,686 | Save huggingface checkpoint as artifact in mlflow callback | {
"login": "swethmandava",
"id": 17828952,
"node_id": "MDQ6VXNlcjE3ODI4OTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/17828952?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/swethmandava",
"html_url": "https://github.com/swethmandava",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks again!",
"Hi there! @swethmandava Thanks for adding this functionality. Quick question: because the artifact logging was removed, wouldn't the intermediate checkpoints not be tracked? Only the latest checkpoint would be logg... | 1,655 | 1,660 | 1,655 | CONTRIBUTOR | null | # What does this PR do?
1. Store model checkpoints including tokenizers that are needed to reload the model from mlflow as artifacts
2. Allow model to be register-able. (they are not if log_artifacts is used to log the model)
Fixes # (issue)
https://github.com/huggingface/transformers/issues/15495
https://gith... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17686/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17686/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17686",
"html_url": "https://github.com/huggingface/transformers/pull/17686",
"diff_url": "https://github.com/huggingface/transformers/pull/17686.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17686.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17685 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17685/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17685/comments | https://api.github.com/repos/huggingface/transformers/issues/17685/events | https://github.com/huggingface/transformers/issues/17685 | 1,268,714,421 | I_kwDOCUB6oc5Lnwu1 | 17,685 | Disregard | {
"login": "schlopp96",
"id": 71921821,
"node_id": "MDQ6VXNlcjcxOTIxODIx",
"avatar_url": "https://avatars.githubusercontent.com/u/71921821?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/schlopp96",
"html_url": "https://github.com/schlopp96",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,655 | 1,655 | 1,655 | NONE | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17685/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17685/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17684 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17684/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17684/comments | https://api.github.com/repos/huggingface/transformers/issues/17684/events | https://github.com/huggingface/transformers/pull/17684 | 1,268,574,114 | PR_kwDOCUB6oc45hKkv | 17,684 | [Pipeline] avoid importing tensorflow if not used | {
"login": "NouamaneTazi",
"id": 29777165,
"node_id": "MDQ6VXNlcjI5Nzc3MTY1",
"avatar_url": "https://avatars.githubusercontent.com/u/29777165?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NouamaneTazi",
"html_url": "https://github.com/NouamaneTazi",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing gu... | 1,655 | 1,657 | 1,657 | MEMBER | null | # What does this PR do?
Avoids loading unnecessary modules by `pipelines.base.infer_framework_load_model()` which could create some unexpected behaviour like tensorflow allocating all GPU memory.
@sgugger @LysandreJik
Before:
```python
from transformers import pipeline
pipeline("text-classification")
# This... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17684/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/17684/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17684",
"html_url": "https://github.com/huggingface/transformers/pull/17684",
"diff_url": "https://github.com/huggingface/transformers/pull/17684.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17684.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17683 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17683/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17683/comments | https://api.github.com/repos/huggingface/transformers/issues/17683/events | https://github.com/huggingface/transformers/pull/17683 | 1,268,480,686 | PR_kwDOCUB6oc45g491 | 17,683 | Update eli5_app.py | {
"login": "cyai",
"id": 83634399,
"node_id": "MDQ6VXNlcjgzNjM0Mzk5",
"avatar_url": "https://avatars.githubusercontent.com/u/83634399?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cyai",
"html_url": "https://github.com/cyai",
"followers_url": "https://api.github.com/users/cyai/followers"... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17683). All of your documentation changes will be reflected on that endpoint."
] | 1,655 | 1,655 | 1,655 | NONE | null | # What does this PR do?
Fixes # (issue)
Updated the string format style for a cleaner understanding of the code.
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/hugg... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17683/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17683/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17683",
"html_url": "https://github.com/huggingface/transformers/pull/17683",
"diff_url": "https://github.com/huggingface/transformers/pull/17683.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17683.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17682 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17682/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17682/comments | https://api.github.com/repos/huggingface/transformers/issues/17682/events | https://github.com/huggingface/transformers/issues/17682 | 1,268,414,529 | I_kwDOCUB6oc5LmnhB | 17,682 | Truncation + max_length not working for GPT2TokenizerFast | {
"login": "teetone",
"id": 16793796,
"node_id": "MDQ6VXNlcjE2NzkzNzk2",
"avatar_url": "https://avatars.githubusercontent.com/u/16793796?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/teetone",
"html_url": "https://github.com/teetone",
"followers_url": "https://api.github.com/users/teeton... | [] | closed | false | null | [] | [
"Also gently pinging @SaulLu @mishig25 @thomasw21 here",
"Hi @teetone,\r\n\r\nThank you for your detailed outcome. While investigating, I noticed that the portion of text that produces this behaviour is `\"the simplicity of their 'studio' is the reason why\"`\r\n\r\n```python\r\nfrom transformers import AutoToken... | 1,654 | 1,655 | 1,655 | NONE | null | ### System Info
```shell
- `transformers` version: 4.13.0
- Platform: Linux-4.15.0-29-generic-x86_64-with-glibc2.17
- Python version: 3.8.13
- PyTorch version (GPU?): 1.10.2+cu102 (False)
- 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/17682/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17682/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17681 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17681/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17681/comments | https://api.github.com/repos/huggingface/transformers/issues/17681/events | https://github.com/huggingface/transformers/issues/17681 | 1,268,363,487 | I_kwDOCUB6oc5LmbDf | 17,681 | trainer fails when fsdp = full_shard auto_wrap | {
"login": "chijames",
"id": 11708477,
"node_id": "MDQ6VXNlcjExNzA4NDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/11708477?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chijames",
"html_url": "https://github.com/chijames",
"followers_url": "https://api.github.com/users/chi... | [
{
"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 @pacman100 ",
"@pacman100 Thanks for looking into this! Would love to provide any additional information!",
"Hello @chijames, thanks for letting us know that `default_auto_wrap_policy` is no more, will be fixing it shortly. Regarding the subsequent error, it is unrelated to the integration and I have opened... | 1,654 | 1,665 | 1,658 | NONE | null | ### System Info
```shell
- `transformers` version: 4.20.0.dev0
- Platform: Linux-5.4.0-1072-aws-x86_64-with-debian-buster-sid
- Python version: 3.7.12
- Huggingface_hub version: 0.7.0
- PyTorch version (GPU?): 1.13.0.dev20220610 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17681/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17681/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17680 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17680/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17680/comments | https://api.github.com/repos/huggingface/transformers/issues/17680/events | https://github.com/huggingface/transformers/pull/17680 | 1,268,361,281 | PR_kwDOCUB6oc45gh8u | 17,680 | Save huggingface checkpoint as artifact in mlflow callback | {
"login": "swethmandava",
"id": 17828952,
"node_id": "MDQ6VXNlcjE3ODI4OTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/17828952?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/swethmandava",
"html_url": "https://github.com/swethmandava",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Opened #17686 from branch. closing this",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,654 | 1,655 | 1,655 | CONTRIBUTOR | null | # What does this PR do?
1. Store model checkpoints including tokenizers that are needed to reload the model from mlflow as artifacts
2. Allow model to register-able. (they are not if log_artifacts is used to log the model)
Fixes # (issue)
https://github.com/huggingface/transformers/issues/15495
https://github.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17680/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17680/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17680",
"html_url": "https://github.com/huggingface/transformers/pull/17680",
"diff_url": "https://github.com/huggingface/transformers/pull/17680.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17680.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17679 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17679/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17679/comments | https://api.github.com/repos/huggingface/transformers/issues/17679/events | https://github.com/huggingface/transformers/pull/17679 | 1,268,341,643 | PR_kwDOCUB6oc45geNl | 17,679 | Fix typo in adding_a_new_model README | {
"login": "ayushtues",
"id": 43698245,
"node_id": "MDQ6VXNlcjQzNjk4MjQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/43698245?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ayushtues",
"html_url": "https://github.com/ayushtues",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,654 | 1,655 | 1,655 | CONTRIBUTOR | null | # What does this PR do?
Fixes #17678
## Before submitting
- [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-req... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17679/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17679/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17679",
"html_url": "https://github.com/huggingface/transformers/pull/17679",
"diff_url": "https://github.com/huggingface/transformers/pull/17679.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17679.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17678 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17678/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17678/comments | https://api.github.com/repos/huggingface/transformers/issues/17678/events | https://github.com/huggingface/transformers/issues/17678 | 1,268,341,097 | I_kwDOCUB6oc5LmVlp | 17,678 | Typo in adding_a_new_model README | {
"login": "ayushtues",
"id": 43698245,
"node_id": "MDQ6VXNlcjQzNjk4MjQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/43698245?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ayushtues",
"html_url": "https://github.com/ayushtues",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Sent a PR to fix this [here](https://github.com/huggingface/transformers/pull/17679)"
] | 1,654 | 1,655 | 1,655 | CONTRIBUTOR | null | There's a typo in the adding_a_new_model README [file](https://github.com/huggingface/transformers/blob/main/templates/adding_a_new_model/README.md),
It would be `make fix-copies`, not `maxke fix-copies` here
 on HF blog and I manually add \"the copying mechanism\". But I don't understand how i... | 1,654 | 1,661 | 1,661 | CONTRIBUTOR | null | # What does this PR do?
This PR add tests for Longformer tokenizer copying tests from Roberta tokenizer's test suite, because those tokenizers are absolutely identical.
Fixes #16627
## 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/17677/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17677/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17677",
"html_url": "https://github.com/huggingface/transformers/pull/17677",
"diff_url": "https://github.com/huggingface/transformers/pull/17677.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17677.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17676 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17676/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17676/comments | https://api.github.com/repos/huggingface/transformers/issues/17676/events | https://github.com/huggingface/transformers/issues/17676 | 1,268,300,599 | I_kwDOCUB6oc5LmLs3 | 17,676 | Problems when producing distilBERT | {
"login": "SSFWL496",
"id": 66315801,
"node_id": "MDQ6VXNlcjY2MzE1ODAx",
"avatar_url": "https://avatars.githubusercontent.com/u/66315801?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SSFWL496",
"html_url": "https://github.com/SSFWL496",
"followers_url": "https://api.github.com/users/SSF... | [
{
"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,654 | 1,658 | 1,658 | NONE | null | ### System Info
```shell
Hello!I am training a distilBert from scratch following scripts under examples/distillation.
```
### 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 a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17676/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17676/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17675 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17675/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17675/comments | https://api.github.com/repos/huggingface/transformers/issues/17675/events | https://github.com/huggingface/transformers/issues/17675 | 1,268,293,216 | I_kwDOCUB6oc5LmJ5g | 17,675 | AutoTokenizer fails to do_lower_case | {
"login": "pratyushmaini",
"id": 29012981,
"node_id": "MDQ6VXNlcjI5MDEyOTgx",
"avatar_url": "https://avatars.githubusercontent.com/u/29012981?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pratyushmaini",
"html_url": "https://github.com/pratyushmaini",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
">>> print(tokenizer.tokenize(\"Huggingface\"))\r\n['Hug', 'ging', 'face']",
"Hey @pratyushmaini 👋 Following our bug submission template yields better outcomes -- we have many issues and requests coming in, and we need the help of the community to maximize our usefulness :) One of the fields of the template is ... | 1,654 | 1,658 | 1,658 | NONE | null | If we use the AutoTokenizer library, this still does not work.
```
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("roberta-base", do_lower_case=True)
tokenizer.do_lower_case = True
print(tokenizer.tokenize("Huggingface"))
```
_Originally posted by @pratyushmaini in https://... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17675/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17675/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.