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/23879 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23879/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23879/comments | https://api.github.com/repos/huggingface/transformers/issues/23879/events | https://github.com/huggingface/transformers/issues/23879 | 1,733,255,792 | I_kwDOCUB6oc5nT2Jw | 23,879 | distillation training for arabic langauge | {
"login": "muhammed-saeed",
"id": 38116007,
"node_id": "MDQ6VXNlcjM4MTE2MDA3",
"avatar_url": "https://avatars.githubusercontent.com/u/38116007?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muhammed-saeed",
"html_url": "https://github.com/muhammed-saeed",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Please use the [forums](https://discuss.huggingface.co/) for such questions. This is not a maintained example.",
"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 ... | 1,685 | 1,688 | 1,688 | NONE | null | ### System Info
I encountered two issues while attempting to run the `binarized_data.py` and `train.py` scripts for the Knowledge Distillation of BERT Language Model on the Arabic Language project. Below are the details of each issue:
1. In the `binarized_data.py` script, I had to modify line 83 to make it work. ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23879/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23879/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23878 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23878/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23878/comments | https://api.github.com/repos/huggingface/transformers/issues/23878/events | https://github.com/huggingface/transformers/pull/23878 | 1,733,254,912 | PR_kwDOCUB6oc5RvRYI | 23,878 | [i18n]Translated "attention.mdx" to korean | {
"login": "kihoon71",
"id": 75935546,
"node_id": "MDQ6VXNlcjc1OTM1NTQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/75935546?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kihoon71",
"html_url": "https://github.com/kihoon71",
"followers_url": "https://api.github.com/users/kih... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,686 | 1,686 | CONTRIBUTOR | null | # What does this PR do?
Translated attention.mdx file of the documentation to Korean.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
## Before reviewing
- [x] Check for missing / redundant translations (번역 누락/중복 검사)
- [x] Grammar Check (맞춤법 검사)
- [x... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23878/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/23878/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23878",
"html_url": "https://github.com/huggingface/transformers/pull/23878",
"diff_url": "https://github.com/huggingface/transformers/pull/23878.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23878.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23877 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23877/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23877/comments | https://api.github.com/repos/huggingface/transformers/issues/23877/events | https://github.com/huggingface/transformers/issues/23877 | 1,733,091,380 | I_kwDOCUB6oc5nTOA0 | 23,877 | Cannot reproduce results for Pix2struct on InfographicVQA | {
"login": "Lizw14",
"id": 20157670,
"node_id": "MDQ6VXNlcjIwMTU3Njcw",
"avatar_url": "https://avatars.githubusercontent.com/u/20157670?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lizw14",
"html_url": "https://github.com/Lizw14",
"followers_url": "https://api.github.com/users/Lizw14/fo... | [] | closed | false | null | [] | [
"cc @younesbelkada ",
"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... | 1,685 | 1,691 | 1,691 | NONE | null | I am using the `pix2struct-infographics-vqa-base` and `pix2struct-infographics-vqa-large` model here and doing inference on InfographicsVQA. However, I get 29.53 ANLS for base and 34.31 ANLS for large, which do not match with the 38.2 and 40.0 results as in the original paper. Could anyone help with this?
Here is my... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23877/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23877/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23876 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23876/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23876/comments | https://api.github.com/repos/huggingface/transformers/issues/23876/events | https://github.com/huggingface/transformers/issues/23876 | 1,733,078,320 | I_kwDOCUB6oc5nTK0w | 23,876 | `.to_dict` does not correctly serialize `torch.dtype` in some cases (e.g., vision models) | {
"login": "xenova",
"id": 26504141,
"node_id": "MDQ6VXNlcjI2NTA0MTQx",
"avatar_url": "https://avatars.githubusercontent.com/u/26504141?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xenova",
"html_url": "https://github.com/xenova",
"followers_url": "https://api.github.com/users/xenova/fo... | [] | 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": "... | [
"Hey! Indeed, the `PretrainedConfig` class calls `dict_torch_dtype_to_str`, and the `text_config` and `vision_config` inherit from it, so they work fine, indeed, the parent's `torch_dtype` attribute can be modified and we don't use `self.to_dict()` . Thanks for reporting \r\n\r\nThe configs should be automatically ... | 1,685 | 1,692 | 1,692 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.29.1
- Platform: Windows-10
- Python version: 3.8.3
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23876/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23876/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23875 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23875/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23875/comments | https://api.github.com/repos/huggingface/transformers/issues/23875/events | https://github.com/huggingface/transformers/pull/23875 | 1,733,058,043 | PR_kwDOCUB6oc5Run4W | 23,875 | Changed "perplexity" to "eval_perplexity" | {
"login": "david-waterworth",
"id": 5028974,
"node_id": "MDQ6VXNlcjUwMjg5NzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/5028974?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/david-waterworth",
"html_url": "https://github.com/david-waterworth",
"followers_url": "https://ap... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23875). All of your documentation changes will be reflected on that endpoint.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please... | 1,685 | 1,688 | 1,688 | NONE | null | # What does this PR do?
Modifies training scripts in examples/pytorch/language-modelling so that `perplexity` is correctly logged to wandb. Since the metrics don't contain an eval_ prefix in the metrics dictionary they are not logged.
<!-- Remove if not applicable -->
Fixes # https://github.com/huggingface/transfor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23875/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23875/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23875",
"html_url": "https://github.com/huggingface/transformers/pull/23875",
"diff_url": "https://github.com/huggingface/transformers/pull/23875.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23875.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23874 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23874/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23874/comments | https://api.github.com/repos/huggingface/transformers/issues/23874/events | https://github.com/huggingface/transformers/issues/23874 | 1,732,910,935 | I_kwDOCUB6oc5nSh9X | 23,874 | Code formatting issue with Korean translation of quicktour.mdx | {
"login": "GarrettDaniel",
"id": 36463300,
"node_id": "MDQ6VXNlcjM2NDYzMzAw",
"avatar_url": "https://avatars.githubusercontent.com/u/36463300?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GarrettDaniel",
"html_url": "https://github.com/GarrettDaniel",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hey! Thanks for reporting, feel free to open a PR and ping me 😉 ",
"It looks like this issue was resolved on the docs website https://huggingface.co/docs/transformers/v4.30.0/ko/quicktour. Closing this issue"
] | 1,685 | 1,687 | 1,687 | NONE | null | ### System Info
N/A
### Reproduction
In the Korean translation of quicktour.mdx found [here](https://github.com/huggingface/transformers/blob/main/docs/source/ko/quicktour.mdx), there is a small formatting issue in the bash commands to install pytorch and tensorflow.
: 2.0.1+cu118 (True)
- Tensorflow version (GPU?): 2.12.0 (True)
- Flax version (CPU?/GPU?/TPU?)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23873/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23873/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23872 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23872/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23872/comments | https://api.github.com/repos/huggingface/transformers/issues/23872/events | https://github.com/huggingface/transformers/pull/23872 | 1,732,900,455 | PR_kwDOCUB6oc5RuFQ7 | 23,872 | Raise error if loss can't be calculated - ViT MIM | {
"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,685 | 1,685 | 1,685 | COLLABORATOR | null | # What does this PR do?
Currently, `ViTForMaskedImageModeling` will fail when calculating the reconstruction loss if a patch size other than 16 is chosen. This is because the decoder head is parametrized by `config.encoder_stride`, which controls the resolution of the upsampled image.
By default, `config.patch_s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23872/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23872/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23872",
"html_url": "https://github.com/huggingface/transformers/pull/23872",
"diff_url": "https://github.com/huggingface/transformers/pull/23872.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23872.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23871 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23871/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23871/comments | https://api.github.com/repos/huggingface/transformers/issues/23871/events | https://github.com/huggingface/transformers/pull/23871 | 1,732,728,610 | PR_kwDOCUB6oc5RtfKu | 23,871 | Support shared tensors | {
"login": "thomasw21",
"id": 24695242,
"node_id": "MDQ6VXNlcjI0Njk1MjQy",
"avatar_url": "https://avatars.githubusercontent.com/u/24695242?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomasw21",
"html_url": "https://github.com/thomasw21",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Failing test seems unrelated?",
"Nice 🔥 ",
"Seems like this requires the latest version of safetensors otherwise getting \r\n```python \r\nE RuntimeError: Failed to import transformers.modeling_utils because of the following e... | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
- Fixes #23868
We can uniquely hash the storage by computing `data_ptr()` and `nbytes()` since storages are 1D contiguous buffers. We use that to find tensors that share the same storage. And if we do find them, we put those within the same "block" relying on underlying code to optimize se... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23871/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23871/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23871",
"html_url": "https://github.com/huggingface/transformers/pull/23871",
"diff_url": "https://github.com/huggingface/transformers/pull/23871.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23871.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23870 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23870/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23870/comments | https://api.github.com/repos/huggingface/transformers/issues/23870/events | https://github.com/huggingface/transformers/issues/23870 | 1,732,633,964 | I_kwDOCUB6oc5nReVs | 23,870 | importing of transformers 4.29.2 slows down PyToch DataLoader's multi-processing significantly | {
"login": "TYTTYTTYT",
"id": 30595688,
"node_id": "MDQ6VXNlcjMwNTk1Njg4",
"avatar_url": "https://avatars.githubusercontent.com/u/30595688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TYTTYTTYT",
"html_url": "https://github.com/TYTTYTTYT",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Both take the same time on my side, so it's not just Transformers but some external library causing the problem. Could you share your full env?",
"> Both take the same time on my side, so it's not just Transformers but some external library causing the problem. Could you share your full env?\r\n\r\nThanks for yo... | 1,685 | 1,688 | 1,688 | NONE | null | ### System Info
- `transformers` version: 4.29.2
- Platform: Linux-5.15.0-70-generic-x86_64-with-glibc2.35
- Python version: 3.10.11
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 1.13.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23870/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23870/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23869 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23869/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23869/comments | https://api.github.com/repos/huggingface/transformers/issues/23869/events | https://github.com/huggingface/transformers/pull/23869 | 1,732,632,611 | PR_kwDOCUB6oc5RtKba | 23,869 | Editing issue with pickle def with lambda function | {
"login": "Natyren",
"id": 51296182,
"node_id": "MDQ6VXNlcjUxMjk2MTgy",
"avatar_url": "https://avatars.githubusercontent.com/u/51296182?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Natyren",
"html_url": "https://github.com/Natyren",
"followers_url": "https://api.github.com/users/Natyre... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
In this PR, I address the problem of pickling the constant LR scheduler, which fails during the process (potentially during multi-GPU training, as observed in my case) due to the presence of a lambda function within it.
Fixes #23865 (issue)
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23869/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23869/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23869",
"html_url": "https://github.com/huggingface/transformers/pull/23869",
"diff_url": "https://github.com/huggingface/transformers/pull/23869.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23869.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23868 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23868/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23868/comments | https://api.github.com/repos/huggingface/transformers/issues/23868/events | https://github.com/huggingface/transformers/issues/23868 | 1,732,570,726 | I_kwDOCUB6oc5nRO5m | 23,868 | Avoid saving tied weights with sharded checkpoints | {
"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 | {
"login": "thomasw21",
"id": 24695242,
"node_id": "MDQ6VXNlcjI0Njk1MjQy",
"avatar_url": "https://avatars.githubusercontent.com/u/24695242?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomasw21",
"html_url": "https://github.com/thomasw21",
"followers_url": "https://api.github.com/users/... | [
{
"login": "thomasw21",
"id": 24695242,
"node_id": "MDQ6VXNlcjI0Njk1MjQy",
"avatar_url": "https://avatars.githubusercontent.com/u/24695242?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomasw21",
"html_url": "https://github.com/thomasw21",
"followers_url": "https://a... | [
"I don't think that developing the logic that would avoid this is really worth the time it will require, but we can leave this issue as a reference point.",
"Hum I don't think it should take that long. I can have a go at it. I do think it's an easy win."
] | 1,685 | 1,685 | 1,685 | MEMBER | null | It seems that when sharding a checkpoint we untie weights which makes them take more space
```python
import torch
from transformers import GPT2LMHeadModel, GPT2Config
config = GPT2Config()
model = GPT2LMHeadModel(config)
assert id(model.transformer.wte.weight) == id(model.lm_head.weight)
model.save_pretrained(... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23868/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/23868/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23867 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23867/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23867/comments | https://api.github.com/repos/huggingface/transformers/issues/23867/events | https://github.com/huggingface/transformers/pull/23867 | 1,732,566,083 | PR_kwDOCUB6oc5Rs7-T | 23,867 | [wip: test doc-builder] | {
"login": "mishig25",
"id": 11827707,
"node_id": "MDQ6VXNlcjExODI3NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mishig25",
"html_url": "https://github.com/mishig25",
"followers_url": "https://api.github.com/users/mis... | [] | 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,685 | 1,700 | 1,688 | CONTRIBUTOR | null | Closes #23625
Testing https://github.com/huggingface/doc-builder/pull/373
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23867/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/23867/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23867",
"html_url": "https://github.com/huggingface/transformers/pull/23867",
"diff_url": "https://github.com/huggingface/transformers/pull/23867.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23867.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23866 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23866/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23866/comments | https://api.github.com/repos/huggingface/transformers/issues/23866/events | https://github.com/huggingface/transformers/pull/23866 | 1,732,562,586 | PR_kwDOCUB6oc5Rs7M_ | 23,866 | merge main | {
"login": "mishig25",
"id": 11827707,
"node_id": "MDQ6VXNlcjExODI3NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mishig25",
"html_url": "https://github.com/mishig25",
"followers_url": "https://api.github.com/users/mis... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23866). All of your documentation changes will be reflected on that endpoint."
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23866/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23866/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23866",
"html_url": "https://github.com/huggingface/transformers/pull/23866",
"diff_url": "https://github.com/huggingface/transformers/pull/23866.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23866.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23865 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23865/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23865/comments | https://api.github.com/repos/huggingface/transformers/issues/23865/events | https://github.com/huggingface/transformers/issues/23865 | 1,732,539,456 | I_kwDOCUB6oc5nRHRA | 23,865 | Possible pickle issues | {
"login": "Natyren",
"id": 51296182,
"node_id": "MDQ6VXNlcjUxMjk2MTgy",
"avatar_url": "https://avatars.githubusercontent.com/u/51296182?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Natyren",
"html_url": "https://github.com/Natyren",
"followers_url": "https://api.github.com/users/Natyre... | [] | closed | false | null | [] | [
"Would like to open a PR with your fix?",
"yes, is it okay?"
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | https://github.com/huggingface/transformers/blob/af2aac51fc1c59237ff7228908ace2cd8fc0d9a6/src/transformers/optimization.py#L49
When attempting to pickle this function, there is a potential for an error to occur due to the lambda function that cannot be pickled.
I suggest the following solution for this problem.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23865/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23865/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23864 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23864/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23864/comments | https://api.github.com/repos/huggingface/transformers/issues/23864/events | https://github.com/huggingface/transformers/issues/23864 | 1,732,522,010 | I_kwDOCUB6oc5nRDAa | 23,864 | Mychatter | {
"login": "typ11",
"id": 24231148,
"node_id": "MDQ6VXNlcjI0MjMxMTQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/24231148?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/typ11",
"html_url": "https://github.com/typ11",
"followers_url": "https://api.github.com/users/typ11/follow... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [] | 1,685 | 1,685 | 1,685 | NONE | null | ### Model description
I am still learning so the content is unclear even to me
### Open source status
- [ ] The model implementation is available
- [ ] The model weights are available
### Provide useful links for the implementation
_No response_ | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23864/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23864/timeline | not_planned | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23863 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23863/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23863/comments | https://api.github.com/repos/huggingface/transformers/issues/23863/events | https://github.com/huggingface/transformers/pull/23863 | 1,732,352,820 | PR_kwDOCUB6oc5RsNwg | 23,863 | #23388 Issue: Update RoBERTa configuration | {
"login": "vijethmoudgalya",
"id": 33093576,
"node_id": "MDQ6VXNlcjMzMDkzNTc2",
"avatar_url": "https://avatars.githubusercontent.com/u/33093576?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vijethmoudgalya",
"html_url": "https://github.com/vijethmoudgalya",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"cc @ArthurZucker ",
"_The documentation is not available anymore as the PR was closed or merged._",
"Hey! Thanks for opening the PR, let's just re-run the CI tests"
] | 1,685 | 1,685 | 1,685 | 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/23863/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23863/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23863",
"html_url": "https://github.com/huggingface/transformers/pull/23863",
"diff_url": "https://github.com/huggingface/transformers/pull/23863.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23863.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23862 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23862/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23862/comments | https://api.github.com/repos/huggingface/transformers/issues/23862/events | https://github.com/huggingface/transformers/pull/23862 | 1,732,337,421 | PR_kwDOCUB6oc5RsKYf | 23,862 | Update collating_graphormer.py | {
"login": "clefourrier",
"id": 22726840,
"node_id": "MDQ6VXNlcjIyNzI2ODQw",
"avatar_url": "https://avatars.githubusercontent.com/u/22726840?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/clefourrier",
"html_url": "https://github.com/clefourrier",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | MEMBER | null | # What does this PR do?
Fixes #23697
## Who can review?
@ydshieh ? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23862/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23862/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23862",
"html_url": "https://github.com/huggingface/transformers/pull/23862",
"diff_url": "https://github.com/huggingface/transformers/pull/23862.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23862.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23861 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23861/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23861/comments | https://api.github.com/repos/huggingface/transformers/issues/23861/events | https://github.com/huggingface/transformers/pull/23861 | 1,732,286,765 | PR_kwDOCUB6oc5Rr_Wn | 23,861 | [from_pretrained] imporve the error message when `_no_split_modules` is not defined | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks, though black would format it! ",
"Tests are again unrealted to the PR, will merge once the doc is built"
] | 1,685 | 1,685 | 1,685 | COLLABORATOR | null | # What does this PR do?
As a lot of issues seem to have appeared related to this, the warning is improved.
Adresses #23816 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23861/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23861/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23861",
"html_url": "https://github.com/huggingface/transformers/pull/23861",
"diff_url": "https://github.com/huggingface/transformers/pull/23861.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23861.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23860 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23860/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23860/comments | https://api.github.com/repos/huggingface/transformers/issues/23860/events | https://github.com/huggingface/transformers/issues/23860 | 1,732,183,314 | I_kwDOCUB6oc5nPwUS | 23,860 | Deepspeed unable to resume training on Peft | {
"login": "lucasjinreal",
"id": 21303438,
"node_id": "MDQ6VXNlcjIxMzAzNDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/21303438?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lucasjinreal",
"html_url": "https://github.com/lucasjinreal",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi, there, I got same error with deepspeed. training noramlly and resume got `Can't find a valid checkpoint`\r\n\r\nfirst I try resume_from_checkpoint with `out/lora-Vicuna-chat` (output_path) got `Can't find a valid checkpoint`\r\nthen I send `out/lora-Vicuna-chat/checkpoint-6000` I can not load the lora weights... | 1,685 | 1,690 | 1,689 | NONE | null | this was my main code:
```python
parser = argparse.ArgumentParser()
parser.add_argument("--wandb", action="store_true", default=False)
parser.add_argument("--prompt_type", type=str, default="chat")
parser.add_argument("--data_path", type=str, default="merge.json")
parser.add_argument("--output_path", type=str, ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23860/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23860/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23859 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23859/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23859/comments | https://api.github.com/repos/huggingface/transformers/issues/23859/events | https://github.com/huggingface/transformers/issues/23859 | 1,731,984,924 | I_kwDOCUB6oc5nO_4c | 23,859 | ❗ Bug for compute_transition_scores in generation | {
"login": "Hannibal046",
"id": 38466901,
"node_id": "MDQ6VXNlcjM4NDY2OTAx",
"avatar_url": "https://avatars.githubusercontent.com/u/38466901?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Hannibal046",
"html_url": "https://github.com/Hannibal046",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"@gante @ArthurZucker Hi, would you mind taking some time to check this?",
"Sure! Can you share the full traceback of the error that you stumbled upon? ",
"Thanks for help. The full traceback is here:\r\n```\r\nRuntimeError Traceback (most recent call last)\r\nCell In[1], line 19\r\... | 1,685 | 1,686 | 1,686 | NONE | null | ### System Info
- `transformers` version: 4.30.0.dev0
- Platform: Linux-5.15.0-1038-azure-x86_64-with-glibc2.17
- Python version: 3.8.16
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23859/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23859/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23858 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23858/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23858/comments | https://api.github.com/repos/huggingface/transformers/issues/23858/events | https://github.com/huggingface/transformers/issues/23858 | 1,731,876,788 | I_kwDOCUB6oc5nOle0 | 23,858 | Space CPU Basic and Nvidia T4 - small should be FREE FREE FREE | {
"login": "pure-rgb",
"id": 45315076,
"node_id": "MDQ6VXNlcjQ1MzE1MDc2",
"avatar_url": "https://avatars.githubusercontent.com/u/45315076?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pure-rgb",
"html_url": "https://github.com/pure-rgb",
"followers_url": "https://api.github.com/users/pur... | [] | closed | false | null | [] | [] | 1,685 | 1,685 | 1,685 | NONE | null | ### Feature request
Look at this horrible chart, from [this page](https://huggingface.co/pricing#spaces).

The CPU basic and T4 small should be completely free.
### Motivation
- I have a code example (gra... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23858/reactions",
"total_count": 3,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23858/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23857 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23857/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23857/comments | https://api.github.com/repos/huggingface/transformers/issues/23857/events | https://github.com/huggingface/transformers/pull/23857 | 1,731,858,443 | PR_kwDOCUB6oc5RqhS2 | 23,857 | Added time-series blogs to the models | {
"login": "elisim",
"id": 17675462,
"node_id": "MDQ6VXNlcjE3Njc1NDYy",
"avatar_url": "https://avatars.githubusercontent.com/u/17675462?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/elisim",
"html_url": "https://github.com/elisim",
"followers_url": "https://api.github.com/users/elisim/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | @kashif @NielsRogge | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23857/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23857/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23857",
"html_url": "https://github.com/huggingface/transformers/pull/23857",
"diff_url": "https://github.com/huggingface/transformers/pull/23857.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23857.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23856 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23856/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23856/comments | https://api.github.com/repos/huggingface/transformers/issues/23856/events | https://github.com/huggingface/transformers/pull/23856 | 1,731,852,047 | PR_kwDOCUB6oc5Rqf7J | 23,856 | Adds AutoProcessor.from_pretrained support for MCTCTProcessor | {
"login": "Ubadub",
"id": 1286898,
"node_id": "MDQ6VXNlcjEyODY4OTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1286898?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ubadub",
"html_url": "https://github.com/Ubadub",
"followers_url": "https://api.github.com/users/Ubadub/foll... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
Adds `MCTCTProcessor` to the mapping between model architectures and classes used by `AutoProcessor.from_pretrained`.
<!--
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23856/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23856/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23856",
"html_url": "https://github.com/huggingface/transformers/pull/23856",
"diff_url": "https://github.com/huggingface/transformers/pull/23856.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23856.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23855 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23855/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23855/comments | https://api.github.com/repos/huggingface/transformers/issues/23855/events | https://github.com/huggingface/transformers/pull/23855 | 1,731,774,278 | PR_kwDOCUB6oc5RqPDR | 23,855 | [LlamaTokenizerFast] nit update `post_processor` on the fly | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Failing test is unrelated to the changes",
"this is not saving `add_eos_token` and `add_bos_token`.\r\n\r\n@sgugger @ArthurZucker Can you guys take a look at this?"
] | 1,685 | 1,698 | 1,685 | COLLABORATOR | null | # What does this PR do?
This PR adresses #23833 where it appears that being able to change the `add_eos_token` and `add_bos_token` should be made possible for an easier use of the interface.
Fix comes in two changes
- added `_add_bos_token` attribute, as well as setters and getters for `add_bos_token`
- added a `... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23855/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23855/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23855",
"html_url": "https://github.com/huggingface/transformers/pull/23855",
"diff_url": "https://github.com/huggingface/transformers/pull/23855.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23855.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23854 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23854/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23854/comments | https://api.github.com/repos/huggingface/transformers/issues/23854/events | https://github.com/huggingface/transformers/issues/23854 | 1,731,735,282 | I_kwDOCUB6oc5nOC7y | 23,854 | :grey_question: Custom tool creation and pip requirements :grey_question: | {
"login": "adriens",
"id": 5235127,
"node_id": "MDQ6VXNlcjUyMzUxMjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5235127?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adriens",
"html_url": "https://github.com/adriens",
"followers_url": "https://api.github.com/users/adriens/... | [] | closed | false | null | [] | [
"It's not possible, they will need to install the packages required by your tool.",
"Ok, thanks a lot for your answer @sgugger :pray: "
] | 1,685 | 1,685 | 1,685 | NONE | null | # :grey_question: About
i'm currently working on [Creating a new tool](https://huggingface.co/docs/transformers/en/custom_tools#creating-a-new-tool), ... and this tool will rely on a custom `pypi` package.
In the documentation, you show some classic imports but not custom ones.
# :pray: Question
If I create ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23854/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23854/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23853 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23853/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23853/comments | https://api.github.com/repos/huggingface/transformers/issues/23853/events | https://github.com/huggingface/transformers/issues/23853 | 1,731,533,386 | I_kwDOCUB6oc5nNRpK | 23,853 | AutoProcessor.from_pretrained doesn't support MCTCT Models | {
"login": "Ubadub",
"id": 1286898,
"node_id": "MDQ6VXNlcjEyODY4OTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1286898?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ubadub",
"html_url": "https://github.com/Ubadub",
"followers_url": "https://api.github.com/users/Ubadub/foll... | [] | closed | false | null | [] | [
"cc @sanchit-gandhi "
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | ### System Info
Not actually relevant, but included for completeness:
- `transformers` version: 4.29.1
- Platform: Linux-4.18.0-348.23.1.el8_5.x86_64-x86_64-with-glibc2.28
- Python version: 3.10.11
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.1 (True)
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23853/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23853/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23852 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23852/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23852/comments | https://api.github.com/repos/huggingface/transformers/issues/23852/events | https://github.com/huggingface/transformers/issues/23852 | 1,731,485,523 | I_kwDOCUB6oc5nNF9T | 23,852 | RWKV can't stop correctly. | {
"login": "JaheimLee",
"id": 18062264,
"node_id": "MDQ6VXNlcjE4MDYyMjY0",
"avatar_url": "https://avatars.githubusercontent.com/u/18062264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JaheimLee",
"html_url": "https://github.com/JaheimLee",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"It seems that '\\n\\n' should be the eos_token. @sgugger",
"And according to [this](https://huggingface.co/BlinkDL/rwkv-4-world), '\\n\\n' will be a single token in the new world model.",
"cc @younesbelkada and @ArthurZucker ",
"hi @JaheimLee \r\nThe EOS token should be still the same across all RWKV models,... | 1,685 | 1,690 | 1,690 | NONE | null | According to [here](https://huggingface.co/BlinkDL/rwkv-4-raven), the prompt should be `Bob: xxxxxxxxxxxxxxxxxx\n\nAlice:`.But when I run
```
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("RWKV/rwkv-raven-7b", torch_dtype=torch.float16).to(0... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23852/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23852/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23851 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23851/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23851/comments | https://api.github.com/repos/huggingface/transformers/issues/23851/events | https://github.com/huggingface/transformers/issues/23851 | 1,731,433,030 | I_kwDOCUB6oc5nM5JG | 23,851 | [Bug]? how does the tokenizer encode the special tokens? | {
"login": "vpegasus",
"id": 22723154,
"node_id": "MDQ6VXNlcjIyNzIzMTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/22723154?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vpegasus",
"html_url": "https://github.com/vpegasus",
"followers_url": "https://api.github.com/users/vpe... | [] | closed | false | null | [] | [
"#23818 ",
"> #23818\r\n\r\n@jiangwy99 \r\nthanks very much, when set `use_fast=False`, this indeed encode </s> correctly, whether the space exists.\r\n\r\nHowever, \r\n```python\r\ntokenizer(['who are you', '你是谁'])\r\noutput:\r\n\r\noutputs:\r\n[\r\n[1, 1058, 526, 366], \r\n[1, 29871, 30919, 30392, 235, 179, 13... | 1,685 | 1,687 | 1,687 | NONE | null | ### System Info
transformer version 4.28.1
### Who can help?
@ArthurZucker
hi, maybe, the following issue should be asked here?
[[Bug]? how does the tokenizer encode the special tokens? #1263](https://github.com/huggingface/tokenizers/issues/1263)
### Information
- [ ] The official example scripts
- [X] My ow... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23851/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23851/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23850 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23850/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23850/comments | https://api.github.com/repos/huggingface/transformers/issues/23850/events | https://github.com/huggingface/transformers/pull/23850 | 1,731,313,337 | PR_kwDOCUB6oc5Ros_7 | 23,850 | 🌐 [i18n-KO] Translated `perplexity.mdx` to Korean | {
"login": "HanNayeoniee",
"id": 33839093,
"node_id": "MDQ6VXNlcjMzODM5MDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/33839093?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HanNayeoniee",
"html_url": "https://github.com/HanNayeoniee",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"좋은 번역 감사합니다! 앞서 올려주신 수정 제안 이외에 추가 의견 없습니다!",
"@sgugger, @ArthurZucker, @eunseojo May you please review this PR? "
] | 1,685 | 1,690 | 1,688 | CONTRIBUTOR | null | <!-- PR의 제목은 "🌐 [i18n-KO] Translated `<your_file>.mdx` to Korean" 으로 부탁드립니다 -->
# What does this PR do?
Translated `perplexity.mdx` file of the documentation to Korean.
Added draft of `model_summary.mdx` file because it's referenced.
Thank you in advance for your review.
Part of https://github.com/huggingfac... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23850/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23850/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23850",
"html_url": "https://github.com/huggingface/transformers/pull/23850",
"diff_url": "https://github.com/huggingface/transformers/pull/23850.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23850.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23849 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23849/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23849/comments | https://api.github.com/repos/huggingface/transformers/issues/23849/events | https://github.com/huggingface/transformers/pull/23849 | 1,731,258,477 | PR_kwDOCUB6oc5RohMa | 23,849 | [WIP] Add llava model | {
"login": "youssefadr",
"id": 104783077,
"node_id": "U_kgDOBj7c5Q",
"avatar_url": "https://avatars.githubusercontent.com/u/104783077?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/youssefadr",
"html_url": "https://github.com/youssefadr",
"followers_url": "https://api.github.com/users/you... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23849). All of your documentation changes will be reflected on that endpoint.",
"Hey! Thanks for wanting to contribute. I would suggest you to follow the [guide](https://huggingface.co/docs/transformers/model_sharing) on ho... | 1,685 | 1,688 | 1,688 | CONTRIBUTOR | null | # What does this PR do?
This PR adds the LlaVA model ([https://arxiv.org/abs/2304.08485](https://arxiv.org/abs/2304.08485)), an end-to-end trained large multimodal model that connects a vision encoder and LLM for general-purpose visual and language understanding.
## Before submitting
- [ ] This PR fixes a typo or ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23849/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23849/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23849",
"html_url": "https://github.com/huggingface/transformers/pull/23849",
"diff_url": "https://github.com/huggingface/transformers/pull/23849.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23849.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23848 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23848/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23848/comments | https://api.github.com/repos/huggingface/transformers/issues/23848/events | https://github.com/huggingface/transformers/issues/23848 | 1,731,193,603 | I_kwDOCUB6oc5nL-sD | 23,848 | RWKV - Inference NF4 quantization broken, also Int8 quantization weirdness. | {
"login": "iantbutler01",
"id": 6426407,
"node_id": "MDQ6VXNlcjY0MjY0MDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/6426407?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iantbutler01",
"html_url": "https://github.com/iantbutler01",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Not sure quantization actually works for RWKV which has quite a few custom layers. cc @younesbelkada ",
"Hmm, I was able to do a 4bit finetuning with qlora last week at the very least targeting key value and receptance in the attention and feed forward blocks, it just seems like inference time is broken\r\n\r\nI... | 1,685 | 1,694 | 1,694 | NONE | null | ### System Info
- `transformers` version: 4.30.0.dev0
- Platform: Linux-5.15.0-70-generic-x86_64-with-glibc2.35
- Python version: 3.10.6
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23848/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/23848/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23846 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23846/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23846/comments | https://api.github.com/repos/huggingface/transformers/issues/23846/events | https://github.com/huggingface/transformers/issues/23846 | 1,731,139,517 | I_kwDOCUB6oc5nLxe9 | 23,846 | Add LaVIN model | {
"login": "tensorpro",
"id": 23471886,
"node_id": "MDQ6VXNlcjIzNDcxODg2",
"avatar_url": "https://avatars.githubusercontent.com/u/23471886?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tensorpro",
"html_url": "https://github.com/tensorpro",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Hi @amyeroberts, I don't think anyone is working on this anymore. If this adds any value to hf I'll start working on it."
] | 1,685 | 1,688 | null | NONE | null | ### Model description
LaVIN is a vision-language instructed model that is affordable to train (it was trained in a few hours on 8 A100 GPUs) with good performance on ScienceQA.
I'd like to add LaVIN to HF transformers.
### Open source status
- [X] The model implementation is available
- [X] The model weig... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23846/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23846/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23845 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23845/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23845/comments | https://api.github.com/repos/huggingface/transformers/issues/23845/events | https://github.com/huggingface/transformers/issues/23845 | 1,731,010,774 | I_kwDOCUB6oc5nLSDW | 23,845 | forced_decoder_ids in Whisper models significantly impacts performance, use decoder_input_ids instead | {
"login": "tonysimpson",
"id": 140212,
"node_id": "MDQ6VXNlcjE0MDIxMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/140212?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tonysimpson",
"html_url": "https://github.com/tonysimpson",
"followers_url": "https://api.github.com/user... | [
{
"id": 3081136536,
"node_id": "MDU6TGFiZWwzMDgxMTM2NTM2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Difficult%20Issue",
"name": "Good Difficult Issue",
"color": "684CC7",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Hey! Thanks for taking the time to open this PR. \r\nTotally get the speedup and the latency induced by the use of `foced_decoder_ids` rather than `decoder_input_ids`. \r\nThe addition of the `prompt_ids` was mostly handled by @hollance, which will be able to have a better look at this. \r\nI don't think that ther... | 1,685 | 1,700 | null | NONE | null | ### Feature request
@ArthurZucker probably one for you based on commit logs.
Using `forced_decoder_ids` to provide "prompt" and or "prefix" to the whisper model is very inefficient as a forward pass and sampling is done for each token in the `forced_decoder_ids` but the result is already known. Instead the model pa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23845/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23845/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23844 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23844/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23844/comments | https://api.github.com/repos/huggingface/transformers/issues/23844/events | https://github.com/huggingface/transformers/pull/23844 | 1,730,868,586 | PR_kwDOCUB6oc5RnM_O | 23,844 | 🌐 [i18n-KO] Translated `tasks_explained.mdx` to Korean | {
"login": "0525hhgus",
"id": 47289574,
"node_id": "MDQ6VXNlcjQ3Mjg5NTc0",
"avatar_url": "https://avatars.githubusercontent.com/u/47289574?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/0525hhgus",
"html_url": "https://github.com/0525hhgus",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"특별히 수정할 만한 곳을 찾지 못했습니다. 고생하셨습니다!",
"> 무척 길고 알찬 문서였네요! 고생 많으셨습니다. 몇 가지 수정 의견을 아래와 같이 제안 드립니다 😄\r\n\r\n꼼꼼한 리뷰 감사합니다! 리뷰 주신 사항 반영하여 커밋하였습니다 👍 ",
"May you please review this PR? 😄 \r\n@sgugger, @ArthurZucker, @eunseojo"
] | 1,685 | 1,686 | 1,685 | CONTRIBUTOR | null | <!-- PR의 제목은 "🌐 [i18n-KO] Translated `<your_file>.mdx` to Korean" 으로 부탁드립니다 -->
# What does this PR do?
Translated the `tasks_explained.mdx` file of the documentation to Korean 😄
~~*Reference documents I added: `generation_strategies.mdx`, `task_summary.mdx`~~
Thank you in advance for your review!
Part of h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23844/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/23844/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23844",
"html_url": "https://github.com/huggingface/transformers/pull/23844",
"diff_url": "https://github.com/huggingface/transformers/pull/23844.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23844.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23843 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23843/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23843/comments | https://api.github.com/repos/huggingface/transformers/issues/23843/events | https://github.com/huggingface/transformers/issues/23843 | 1,730,854,047 | I_kwDOCUB6oc5nKryf | 23,843 | Error in Falcon-40B 8bit-quantized when calling generate | {
"login": "avacaondata",
"id": 35173563,
"node_id": "MDQ6VXNlcjM1MTczNTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/35173563?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/avacaondata",
"html_url": "https://github.com/avacaondata",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hey! Thanks for reporting this. I would suggest you to open the issue on the model's repository, as the code you are using is not entirely on transformers. Cache might not be properly handled",
"Hi @avacaondata , I was able to successfully run your code on my setup (2 TITAN RTX 24GB) with the model in 8-bit and ... | 1,685 | 1,686 | 1,686 | NONE | null | ### System Info
- `transformers` version: 4.30.0.dev0
- Platform: Linux-5.15.0-72-generic-x86_64-with-glibc2.35
- Python version: 3.9.16
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23843/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23843/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23842 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23842/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23842/comments | https://api.github.com/repos/huggingface/transformers/issues/23842/events | https://github.com/huggingface/transformers/pull/23842 | 1,730,844,289 | PR_kwDOCUB6oc5RnHoS | 23,842 | TF SAM shape flexibility fixes | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | MEMBER | null | This PR makes some small changes to use dynamic instead of static shapes for SAM, which fixes issues when compiling and fine-tuning.
cc @sayakpaul, fixes #23826 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23842/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23842/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23842",
"html_url": "https://github.com/huggingface/transformers/pull/23842",
"diff_url": "https://github.com/huggingface/transformers/pull/23842.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23842.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23840 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23840/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23840/comments | https://api.github.com/repos/huggingface/transformers/issues/23840/events | https://github.com/huggingface/transformers/issues/23840 | 1,730,776,734 | I_kwDOCUB6oc5nKY6e | 23,840 | [i18n-<languageCode>] Translating docs to <languageName> | {
"login": "rezz90",
"id": 134093487,
"node_id": "U_kgDOB_4arw",
"avatar_url": "https://avatars.githubusercontent.com/u/134093487?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rezz90",
"html_url": "https://github.com/rezz90",
"followers_url": "https://api.github.com/users/rezz90/follower... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [] | 1,685 | 1,685 | 1,685 | NONE | null | <!--
Note: Please search to see if an issue already exists for the language you are trying to translate.
-->
Hi!
Let's bring the documentation to all the <languageName>-speaking community 🌐 (currently 0 out of 267 complete)
Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/hug... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23840/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23840/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23839 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23839/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23839/comments | https://api.github.com/repos/huggingface/transformers/issues/23839/events | https://github.com/huggingface/transformers/issues/23839 | 1,730,288,863 | I_kwDOCUB6oc5nIhzf | 23,839 | 4bit Blip2 compatibility | {
"login": "betterftr",
"id": 84087448,
"node_id": "MDQ6VXNlcjg0MDg3NDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/84087448?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/betterftr",
"html_url": "https://github.com/betterftr",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @younesbelkada ",
"Hi @betterftr \r\nThanks for the issue, indeed there seems to be a bug, that should be fixed in https://github.com/huggingface/transformers/pull/23895",
"cc @SunMarc if you have time to look into this ? ",
"Hey @betterftr , i'm able to run the following script with this env. Let me know... | 1,685 | 1,699 | 1,699 | NONE | null | ### System Info
I am getting an error after loading Blip2 in 4bit, cant inference, cant train. Can anyone help?
### 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/SQ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23839/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23839/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23838 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23838/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23838/comments | https://api.github.com/repos/huggingface/transformers/issues/23838/events | https://github.com/huggingface/transformers/issues/23838 | 1,730,117,757 | I_kwDOCUB6oc5nH4B9 | 23,838 | Add EMD loss | {
"login": "wesboyt",
"id": 30701972,
"node_id": "MDQ6VXNlcjMwNzAxOTcy",
"avatar_url": "https://avatars.githubusercontent.com/u/30701972?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wesboyt",
"html_url": "https://github.com/wesboyt",
"followers_url": "https://api.github.com/users/wesboy... | [] | 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,685 | 1,688 | 1,688 | NONE | null | ### Feature request
could we import this file for 1d EMD? its like kl div but allows us to better represent ordinal/numeric classes.
https://github.com/TakaraResearch/Pytorch-1D-Wasserstein-Statistical-Loss/blob/master/pytorch_stats_loss.py
is the best option Ive seen online.
### Motivation
I am currently using it... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23838/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/23838/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23837 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23837/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23837/comments | https://api.github.com/repos/huggingface/transformers/issues/23837/events | https://github.com/huggingface/transformers/pull/23837 | 1,730,022,369 | PR_kwDOCUB6oc5RkS-d | 23,837 | Fix floating point precision issue for RoPE | {
"login": "butsugiri",
"id": 6701836,
"node_id": "MDQ6VXNlcjY3MDE4MzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/6701836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/butsugiri",
"html_url": "https://github.com/butsugiri",
"followers_url": "https://api.github.com/users/bu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23837). All of your documentation changes will be reflected on that endpoint.",
"Thank you for the message.\r\nWhile I appreciate that we have to keep the compatibility with existing models on the hub, my understanding is t... | 1,685 | 1,688 | 1,688 | NONE | null | ## What does this PR do?
This PR fixes the issue of floating point precision in `RotaryEmbedding`.
The purpose of this PR is to fix inconsistency between GPT-Neo-X and HF Transformers, which is causing a model performance degradation.
## Issue
In the current implementation of `RotaryEmbedding`, `inv_freq` is ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23837/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23837/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23837",
"html_url": "https://github.com/huggingface/transformers/pull/23837",
"diff_url": "https://github.com/huggingface/transformers/pull/23837.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23837.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23836 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23836/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23836/comments | https://api.github.com/repos/huggingface/transformers/issues/23836/events | https://github.com/huggingface/transformers/issues/23836 | 1,729,933,207 | I_kwDOCUB6oc5nHK-X | 23,836 | loading dataset | {
"login": "Deemo-cqs",
"id": 64957826,
"node_id": "MDQ6VXNlcjY0OTU3ODI2",
"avatar_url": "https://avatars.githubusercontent.com/u/64957826?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Deemo-cqs",
"html_url": "https://github.com/Deemo-cqs",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Please use the [forums](https://discuss.huggingface.co/) for such questions as we keep GitHub issues for bugs and feature requests only."
] | 1,685 | 1,685 | 1,685 | NONE | null | Whether the loaded dataset is loaded into the memory at one time or in batches, why the model with the same parameters can be trained with a small dataset, but the memory of a large dataset will be full | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23836/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23836/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23835 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23835/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23835/comments | https://api.github.com/repos/huggingface/transformers/issues/23835/events | https://github.com/huggingface/transformers/issues/23835 | 1,729,550,843 | I_kwDOCUB6oc5nFtn7 | 23,835 | Sliding window for finetuning | {
"login": "DanaTurkif",
"id": 52151359,
"node_id": "MDQ6VXNlcjUyMTUxMzU5",
"avatar_url": "https://avatars.githubusercontent.com/u/52151359?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DanaTurkif",
"html_url": "https://github.com/DanaTurkif",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Please use the [forums](https://discuss.huggingface.co/) to ask such questions. The feature is implemented via `stride` and `return_overflowing_tokens` in tokenizers as you note.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addre... | 1,685 | 1,688 | 1,688 | NONE | null | ### Feature request
The sliding window feature is important since many models have limited size (BERT 512 token) , as far as i know the feature is available when using the pipelines for inference however when finetuning it's not.
### Motivation
I'm trying to finetune BERT models since they reached state of the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23835/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23835/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23834 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23834/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23834/comments | https://api.github.com/repos/huggingface/transformers/issues/23834/events | https://github.com/huggingface/transformers/issues/23834 | 1,729,536,037 | I_kwDOCUB6oc5nFqAl | 23,834 | Parameter: encoder_no_repeat_ngram_size or something that makes model not repeat input tokens in the output. | {
"login": "Oxi84",
"id": 25420033,
"node_id": "MDQ6VXNlcjI1NDIwMDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/25420033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Oxi84",
"html_url": "https://github.com/Oxi84",
"followers_url": "https://api.github.com/users/Oxi84/follow... | [] | closed | false | null | [] | [
"cc @gante ",
"Hey @Oxi84 👋 \r\n\r\nWithout a stand-alone short script to reproduce the issue (as well as the desired output), it is hard for me to help :)\r\n\r\nNevertheless, I suspect the keyword argument you want to use is `no_repeat_ngram_size`, and not `encoder_no_repeat_ngram_size`",
"This issue has bee... | 1,685 | 1,689 | 1,689 | NONE | null | ### Feature request
Could you please add more explanations in the docs about what encoder_no_repeat_ngram_size practically does.
It says in the docs that it makes sure that ngram sequence of specified length that is in the encoder input ids does not repeat in the decoder input ids, but I have no idea how this para... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23834/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23834/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23833 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23833/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23833/comments | https://api.github.com/repos/huggingface/transformers/issues/23833/events | https://github.com/huggingface/transformers/issues/23833 | 1,729,442,526 | I_kwDOCUB6oc5nFTLe | 23,833 | [llama] AutoTokenizer does not add `eos_token` at the end | {
"login": "csyourui",
"id": 23717487,
"node_id": "MDQ6VXNlcjIzNzE3NDg3",
"avatar_url": "https://avatars.githubusercontent.com/u/23717487?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/csyourui",
"html_url": "https://github.com/csyourui",
"followers_url": "https://api.github.com/users/csy... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"Hi,\r\n\r\nNote that it doesn't make sense to pass `use_fast` to the slow (Python-based) `LlamaTokenizer`. It only makes sense to pass use_fast to the `AutoTokenizer` class, which can either load the fast (Rust-based) `LlamaTokenizerFast` class or the slow (Python-based) `LlamaTokenizer`.\r\n\r\nIn the code snippe... | 1,685 | 1,699 | 1,687 | NONE | null | ### System Info
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.29.2
- Platform: Linux-3.10.0-1160.42.2.el7.x86_64-x86_64-with-glibc2.35
- Python version: 3.9.16
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23833/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23833/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23832 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23832/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23832/comments | https://api.github.com/repos/huggingface/transformers/issues/23832/events | https://github.com/huggingface/transformers/issues/23832 | 1,729,395,757 | I_kwDOCUB6oc5nFHwt | 23,832 | In ViTForMaskedImageModeling, you will receive a reconstructed_pixel_values which shape is different with input when model.config.patch_size is not 16. This further triggers an error about loss when patch_size is not 16 and bool_masked_pos is not None. | {
"login": "yrqUni",
"id": 35153598,
"node_id": "MDQ6VXNlcjM1MTUzNTk4",
"avatar_url": "https://avatars.githubusercontent.com/u/35153598?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yrqUni",
"html_url": "https://github.com/yrqUni",
"followers_url": "https://api.github.com/users/yrqUni/fo... | [] | closed | false | null | [] | [
"cc @amyeroberts ",
"Hi @yrqUni, thanks for reporting this issue. \r\n\r\nDigging into this, the error is arising because the decoder head for the model is parametreized by `config.encoder_stride`, which controls the size of the upscaled image. When we update the patch size, in order to calculate the loss, the en... | 1,685 | 1,685 | 1,685 | NONE | null | ### System Info
- `transformers` version: 4.29.2
- Platform: Linux-3.10.0-1160.90.1.el7.x86_64-x86_64-with-glibc2.35
- Python version: 3.9.16
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Fla... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23832/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23832/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23831 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23831/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23831/comments | https://api.github.com/repos/huggingface/transformers/issues/23831/events | https://github.com/huggingface/transformers/issues/23831 | 1,729,343,166 | I_kwDOCUB6oc5nE66- | 23,831 | IndexError when training with GLUE dataset using pretrained from scratch ELECTRA. | {
"login": "saiefulEZO",
"id": 71864271,
"node_id": "MDQ6VXNlcjcxODY0Mjcx",
"avatar_url": "https://avatars.githubusercontent.com/u/71864271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saiefulEZO",
"html_url": "https://github.com/saiefulEZO",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"The problem seems to be that you are using token IDs that are not accepted by your model. Are you sure your tokenzier length and model embedding size match?",
"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... | 1,685 | 1,688 | 1,688 | NONE | null | Hi guys,
I have a problem in which i'm not sure how to solve. Short story is I pretrained ELECTRA from scratch, now I wanted to train and test with GLUE. I converted ELECTRA tf checkpoint to pytorch using `transformers/src/transformers/models/electra/convert_electra_original_tf_checkpoint_to_pytorch.py` then I run ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23831/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23831/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23827 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23827/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23827/comments | https://api.github.com/repos/huggingface/transformers/issues/23827/events | https://github.com/huggingface/transformers/pull/23827 | 1,729,230,148 | PR_kwDOCUB6oc5RhowI | 23,827 | Add saving to cpu for the state dict for fsdp | {
"login": "tokestermw",
"id": 4722119,
"node_id": "MDQ6VXNlcjQ3MjIxMTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/4722119?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tokestermw",
"html_url": "https://github.com/tokestermw",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23827). All of your documentation changes will be reflected on that endpoint."
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | (oops sorry didn't mean to PR onto main branch)
# 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 a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23827/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23827/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23827",
"html_url": "https://github.com/huggingface/transformers/pull/23827",
"diff_url": "https://github.com/huggingface/transformers/pull/23827.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23827.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23826 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23826/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23826/comments | https://api.github.com/repos/huggingface/transformers/issues/23826/events | https://github.com/huggingface/transformers/issues/23826 | 1,729,169,885 | I_kwDOCUB6oc5nEQnd | 23,826 | [TensorFlow SAM] Internal operations in the prompt encoder fail during fine-tuning | {
"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 | [] | [
"Investigating now - when I was porting the model I got the feeling it didn't even really support fine-tuning! Is there a PyTorch notebook where fine-tuning works @sayakpaul?",
"Update: Some bits of the code were still using static shapes incorrectly! I've fixed it and I think your code sample should work now (th... | 1,685 | 1,699 | 1,685 | MEMBER | null | @merveenoyan and I are trying to create a fine-tuning notebook for the TensorFlow variant of [SAM](https://huggingface.co/docs/transformers/main/model_doc/sam).
After compiling the model, when trying to run the actual fine-tuning, it leads to:
```
TypeError: in user code:
File "/usr/local/lib/python3.10/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23826/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23826/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23825 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23825/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23825/comments | https://api.github.com/repos/huggingface/transformers/issues/23825/events | https://github.com/huggingface/transformers/issues/23825 | 1,729,109,484 | I_kwDOCUB6oc5nEB3s | 23,825 | [i18n-<languageCode>] Translating docs to <languageName> | {
"login": "rezz90",
"id": 134093487,
"node_id": "U_kgDOB_4arw",
"avatar_url": "https://avatars.githubusercontent.com/u/134093487?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rezz90",
"html_url": "https://github.com/rezz90",
"followers_url": "https://api.github.com/users/rezz90/follower... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [] | 1,685 | 1,685 | 1,685 | NONE | null | <!--
Note: Please search to see if an issue already exists for the language you are trying to translate.
-->
Hi!
Let's bring the documentation to all the <languageName>-speaking community 🌐 (currently 0 out of 267 complete)
Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/hug... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23825/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23825/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23824 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23824/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23824/comments | https://api.github.com/repos/huggingface/transformers/issues/23824/events | https://github.com/huggingface/transformers/issues/23824 | 1,729,108,506 | I_kwDOCUB6oc5nEBoa | 23,824 | [i18n-<languageCode>] Translating docs to <languageName> | {
"login": "rezz90",
"id": 134093487,
"node_id": "U_kgDOB_4arw",
"avatar_url": "https://avatars.githubusercontent.com/u/134093487?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rezz90",
"html_url": "https://github.com/rezz90",
"followers_url": "https://api.github.com/users/rezz90/follower... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [] | 1,685 | 1,685 | 1,685 | NONE | null | <!--
Note: Please search to see if an issue already exists for the language you are trying to translate.
-->
Hi!
Let's bring the documentation to all the <languageName>-speaking community 🌐 (currently 0 out of 267 complete)
Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/hug... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23824/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23824/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23823 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23823/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23823/comments | https://api.github.com/repos/huggingface/transformers/issues/23823/events | https://github.com/huggingface/transformers/pull/23823 | 1,729,081,025 | PR_kwDOCUB6oc5RhHrj | 23,823 | 🌐 [i18n-KO] Translated `pad_truncation.mdx` to Korean | {
"login": "sim-so",
"id": 96299403,
"node_id": "U_kgDOBb1piw",
"avatar_url": "https://avatars.githubusercontent.com/u/96299403?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sim-so",
"html_url": "https://github.com/sim-so",
"followers_url": "https://api.github.com/users/sim-so/followers"... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23823). All of your documentation changes will be reflected on that endpoint.",
"연휴에 수고 많으셨습니다!\r\n위에서 댓글 남겨주셔서 더 수정할 부분은 없어 보입니다! ",
"Could you review this PR? 😃 \r\n@sgugger, @ArthurZucker, @eunseojo"
] | 1,685 | 1,685 | 1,685 | 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/23823/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23823/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23823",
"html_url": "https://github.com/huggingface/transformers/pull/23823",
"diff_url": "https://github.com/huggingface/transformers/pull/23823.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23823.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23822 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23822/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23822/comments | https://api.github.com/repos/huggingface/transformers/issues/23822/events | https://github.com/huggingface/transformers/issues/23822 | 1,729,074,427 | I_kwDOCUB6oc5nD5T7 | 23,822 | index out of range in self torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse) | {
"login": "siddhsql",
"id": 127623723,
"node_id": "U_kgDOB5tiKw",
"avatar_url": "https://avatars.githubusercontent.com/u/127623723?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/siddhsql",
"html_url": "https://github.com/siddhsql",
"followers_url": "https://api.github.com/users/siddhsql/... | [] | closed | false | null | [] | [
"I cannot reproduce:\r\n```py\r\nfrom transformers import pipeline\r\nimport pandas as pd\r\n\r\n# prepare table + question\r\ndata = {\"Actors\": [\"Brad Pitt\", \"Leonardo Di Caprio\", \"George Clooney\"], \"Number of movies\": [\"87\", \"53\", \"69\"]}\r\ntable = pd.DataFrame.from_dict(data)\r\nquestion = \"how ... | 1,685 | 1,688 | 1,688 | NONE | null | ### System Info
```
- `transformers` version: 4.29.2
- Platform: macOS-13.4-x86_64-i386-64bit
- Python version: 3.10.2
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.1 (False)
- Tensorflow version (GPU?): 2.12.0 (False)
- Flax version (CPU?/GPU?/TPU?): not ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23822/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23822/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23821 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23821/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23821/comments | https://api.github.com/repos/huggingface/transformers/issues/23821/events | https://github.com/huggingface/transformers/pull/23821 | 1,729,073,701 | PR_kwDOCUB6oc5RhGC5 | 23,821 | T5 models | {
"login": "peter-sk",
"id": 6168908,
"node_id": "MDQ6VXNlcjYxNjg5MDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6168908?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/peter-sk",
"html_url": "https://github.com/peter-sk",
"followers_url": "https://api.github.com/users/peter... | [
{
"id": 5724035499,
"node_id": "LA_kwDOCUB6oc8AAAABVS3Zqw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Model%20on%20the%20Hub",
"name": "Model on the Hub",
"color": "9CA0E9",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23821). All of your documentation changes will be reflected on that endpoint.",
"Hello. Could you update the PR name and description to better reflect the content of the PR? \r\nMoreover, could you explain the motivation be... | 1,685 | 1,689 | 1,688 | CONTRIBUTOR | null | # What does this PR do?
Add models for queston answering, sequence classification, and token classification with T5
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [X] Did you read the [contributor guideline](https://github.com/huggin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23821/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23821/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23821",
"html_url": "https://github.com/huggingface/transformers/pull/23821",
"diff_url": "https://github.com/huggingface/transformers/pull/23821.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23821.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23820 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23820/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23820/comments | https://api.github.com/repos/huggingface/transformers/issues/23820/events | https://github.com/huggingface/transformers/pull/23820 | 1,729,060,474 | PR_kwDOCUB6oc5RhDEr | 23,820 | Implement Lion (EvoLved Sign Optimizer) | {
"login": "dannyadkins",
"id": 20865714,
"node_id": "MDQ6VXNlcjIwODY1NzE0",
"avatar_url": "https://avatars.githubusercontent.com/u/20865714?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dannyadkins",
"html_url": "https://github.com/dannyadkins",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23820). All of your documentation changes will be reflected on that endpoint.",
"Thanks for your PR. Transformers is a library of models, not optimizers. All optimizers implemented inside the library are deprecated and we w... | 1,685 | 1,688 | 1,688 | NONE | null | # What does this PR do?
Lion is a new optimizer from Google Brain that has seen early results improving on language modeling tasks: https://arxiv.org/abs/2302.06675
This PR implements Lion (unfused) as a drop-in replacement for Adam.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you ca... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23820/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23820/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23820",
"html_url": "https://github.com/huggingface/transformers/pull/23820",
"diff_url": "https://github.com/huggingface/transformers/pull/23820.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23820.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23819 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23819/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23819/comments | https://api.github.com/repos/huggingface/transformers/issues/23819/events | https://github.com/huggingface/transformers/issues/23819 | 1,729,053,307 | I_kwDOCUB6oc5nD0J7 | 23,819 | AttributeError: EagerTensor object has no attribute 'size' | {
"login": "siddhsql",
"id": 127623723,
"node_id": "U_kgDOB5tiKw",
"avatar_url": "https://avatars.githubusercontent.com/u/127623723?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/siddhsql",
"html_url": "https://github.com/siddhsql",
"followers_url": "https://api.github.com/users/siddhsql/... | [] | closed | false | null | [] | [
"You are using TensorFlow inputs with a PyTorch model, this cannot work.",
"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 guideli... | 1,685 | 1,703 | 1,688 | NONE | null | ### System Info
```
- `transformers` version: 4.29.2
- Platform: macOS-13.4-x86_64-i386-64bit
- Python version: 3.10.2
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.1 (False)
- Tensorflow version (GPU?): 2.12.0 (False)
- Flax version (CPU?/GPU?/TPU?): not ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23819/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23819/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23818 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23818/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23818/comments | https://api.github.com/repos/huggingface/transformers/issues/23818/events | https://github.com/huggingface/transformers/issues/23818 | 1,728,955,795 | I_kwDOCUB6oc5nDcWT | 23,818 | LLaMATokenizerFast works abnormally | {
"login": "jiangwangyi",
"id": 39762734,
"node_id": "MDQ6VXNlcjM5NzYyNzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/39762734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiangwangyi",
"html_url": "https://github.com/jiangwangyi",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Also have 2 questions related to `LlamaTokenizerFast`:\r\n\r\nFirst, loading a fast tokenizer from a saved slow one takes very long:\r\n\r\n```\r\nfrom transformers import LlamaTokenizer, LlamaTokenizerFast\r\n\r\ntokenizer = LlamaTokenizer.from_pretrained(\"huggyllama/llama-7b\")\r\ntokenizer.save_pretrained(\".\... | 1,685 | 1,686 | 1,686 | CONTRIBUTOR | null | ### System Info
platform==Ubuntu18.04
python==3.10
transformers==4.29.2
### Who can help?
@ArthurZucker
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23818/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23818/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23817 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23817/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23817/comments | https://api.github.com/repos/huggingface/transformers/issues/23817/events | https://github.com/huggingface/transformers/pull/23817 | 1,728,847,415 | PR_kwDOCUB6oc5RgU2i | 23,817 | 🌐 [i18n-KO] Translated `documnet question answering.mdx` to Korean | {
"login": "jungnerd",
"id": 46880056,
"node_id": "MDQ6VXNlcjQ2ODgwMDU2",
"avatar_url": "https://avatars.githubusercontent.com/u/46880056?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jungnerd",
"html_url": "https://github.com/jungnerd",
"followers_url": "https://api.github.com/users/jun... | [] | closed | false | null | [] | [
"Closing in favor of #24588"
] | 1,685 | 1,690 | 1,688 | CONTRIBUTOR | null | <!-- PR의 제목은 "🌐 [i18n-KO] Translated `<your_file>.mdx` to Korean" 으로 부탁드립니다 -->
# What does this PR do?
Translated the `document_question_answering.mdx` file of the documentation to Korean.
Thank you in advance for your review.
Part of #20179
<!-- 메인 이슈에 기록이 남아요! 가짜연구소 리포를 사용해 연습하실때는 제거해주시면 감사하겠습니다! :smile:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23817/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23817/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23817",
"html_url": "https://github.com/huggingface/transformers/pull/23817",
"diff_url": "https://github.com/huggingface/transformers/pull/23817.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23817.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23816 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23816/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23816/comments | https://api.github.com/repos/huggingface/transformers/issues/23816/events | https://github.com/huggingface/transformers/issues/23816 | 1,728,828,477 | I_kwDOCUB6oc5nC9Q9 | 23,816 | `MPTForCausalLM` does not support `device_map='auto'` yet. | {
"login": "harikc456",
"id": 21287383,
"node_id": "MDQ6VXNlcjIxMjg3Mzgz",
"avatar_url": "https://avatars.githubusercontent.com/u/21287383?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harikc456",
"html_url": "https://github.com/harikc456",
"followers_url": "https://api.github.com/users/... | [] | 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": "... | [
"Hey! This is a duplicate of #23784 . Seems like we should give a more informative message. ",
"This makes me think that we should add the ability to pass no split modules directly when calling from_pretrained for super users. There are more and more models that uses code on the Hub feature and this should make l... | 1,685 | 1,685 | 1,685 | NONE | null | ### System Info
- `transformers` version: 4.30.0.dev0
- Platform: Linux-5.15.107+-x86_64-with-glibc2.31
- Python version: 3.10.11
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflow version (GPU?): 2.12.0 (True)
- Flax version (CPU?/GPU?/TPU?)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23816/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23816/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23815 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23815/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23815/comments | https://api.github.com/repos/huggingface/transformers/issues/23815/events | https://github.com/huggingface/transformers/issues/23815 | 1,728,779,544 | I_kwDOCUB6oc5nCxUY | 23,815 | RuntimeError | {
"login": "lazytensor",
"id": 130575977,
"node_id": "U_kgDOB8huaQ",
"avatar_url": "https://avatars.githubusercontent.com/u/130575977?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lazytensor",
"html_url": "https://github.com/lazytensor",
"followers_url": "https://api.github.com/users/laz... | [] | closed | false | null | [] | [
"Could you let us know your version of Accelerate?",
"same problem",
"This worked at my Kaggle Notebook \r\n\r\nhttps://stackoverflow.com/questions/76363436/cannot-import-name-partialstate-from-accelerate-when-using-huggingface-pipel",
"This issue has been automatically marked as stale because it has not had ... | 1,685 | 1,688 | 1,688 | NONE | null | ### System Info
Facing error when doing`from transformers import Trainer`
`RuntimeError: Failed to import transformers.training_args because of the following error (look up to see its traceback): cannot import name 'PartialState' from 'accelerate' (/opt/conda/lib/python3.10/site-packages/accelerate/__init__.py)`
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23815/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23815/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23814 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23814/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23814/comments | https://api.github.com/repos/huggingface/transformers/issues/23814/events | https://github.com/huggingface/transformers/issues/23814 | 1,728,766,718 | I_kwDOCUB6oc5nCuL- | 23,814 | Adding GPTNeoX (Tensorflow version) | {
"login": "shivance",
"id": 51750587,
"node_id": "MDQ6VXNlcjUxNzUwNTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/51750587?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shivance",
"html_url": "https://github.com/shivance",
"followers_url": "https://api.github.com/users/shi... | [
{
"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 | [] | [
"cc: @sgugger @NielsRogge ",
"How would you run this model in Tensorflow though? I don't think it offers the same flexibility as PyTorch wrt to distributing layers on several devices.\r\n\r\ncc @Rocketknight1 ",
"I believe a TF implementation with distribution of layers across devices is possible using [DTensor... | 1,685 | 1,689 | null | NONE | null | ### Model description
Huggingface has GPTNeoX model by ElutherAI. It's a 20 billion parameter autoregressive language model trained on the Pile, whose weights will be made freely and openly available to the public through a permissive license.
However Huggingface currently has only PyTorch implementation of the mod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23814/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23814/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23813 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23813/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23813/comments | https://api.github.com/repos/huggingface/transformers/issues/23813/events | https://github.com/huggingface/transformers/pull/23813 | 1,728,745,138 | PR_kwDOCUB6oc5Rf_An | 23,813 | [MMS] Scaling Speech Technology to 1,000+ Languages | Add attention adapter to Wav2Vec2 | {
"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._",
"Hey @patrickvonplaten - Thanks for working on this and I reviewed the options provided. I believe the second one would work best from a developer standpoint. IMO it ensures that all the adapter weights are in one repository and it al... | 1,685 | 1,685 | 1,685 | 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/23813/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23813/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23813",
"html_url": "https://github.com/huggingface/transformers/pull/23813",
"diff_url": "https://github.com/huggingface/transformers/pull/23813.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23813.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23812 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23812/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23812/comments | https://api.github.com/repos/huggingface/transformers/issues/23812/events | https://github.com/huggingface/transformers/pull/23812 | 1,728,647,129 | PR_kwDOCUB6oc5RfqB- | 23,812 | Add support for HYBRID_SHARD and _HYBRID_SHARD_ZERO2 in the trainer | {
"login": "raghavanone",
"id": 115454562,
"node_id": "U_kgDOBuGyYg",
"avatar_url": "https://avatars.githubusercontent.com/u/115454562?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/raghavanone",
"html_url": "https://github.com/raghavanone",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger Requesting for review.",
"@pacman100 Gentle remainder.",
"Hello @raghavanone, after PR #23158, the FSDP logic is being handled by Accelerate. So, these changes should reflect in Accelerate if they aren't being supporte... | 1,685 | 1,691 | 1,686 | CONTRIBUTOR | null | #21156 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23812/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23812/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23812",
"html_url": "https://github.com/huggingface/transformers/pull/23812",
"diff_url": "https://github.com/huggingface/transformers/pull/23812.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23812.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23811 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23811/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23811/comments | https://api.github.com/repos/huggingface/transformers/issues/23811/events | https://github.com/huggingface/transformers/issues/23811 | 1,728,544,164 | I_kwDOCUB6oc5nB32k | 23,811 | Metas MMS speech recognition | {
"login": "LYPinASR",
"id": 112866899,
"node_id": "U_kgDOBro2Uw",
"avatar_url": "https://avatars.githubusercontent.com/u/112866899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LYPinASR",
"html_url": "https://github.com/LYPinASR",
"followers_url": "https://api.github.com/users/LYPinASR/... | [] | closed | false | null | [] | [
"Duplicate of #23665",
"@NielsRogge \r\nHi, Can you tell me how far along we are and about how long it will be ready for us to use? Thank you!\r\n\r\n",
"PR merged.\r\n\r\nAlso see:\r\n- https://huggingface.co/docs/transformers/main/en/model_doc/mms\r\n- https://github.com/huggingface/transformers/pull/23813\r\... | 1,685 | 1,690 | 1,685 | NONE | null | ### Feature request
Our request a simpler and more convenient inference process for a speech recognition model based on MMS just like wav2vec 2.0 in Transformers.
### Motivation
We aim to encapsulate the various subroutines called by Facebook’s official model into a direct speech recognition model that is as easy t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23811/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23811/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23810 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23810/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23810/comments | https://api.github.com/repos/huggingface/transformers/issues/23810/events | https://github.com/huggingface/transformers/issues/23810 | 1,728,515,314 | I_kwDOCUB6oc5nBwzy | 23,810 | How to convert flax model to pytorch? | {
"login": "GuodongFan",
"id": 11190486,
"node_id": "MDQ6VXNlcjExMTkwNDg2",
"avatar_url": "https://avatars.githubusercontent.com/u/11190486?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GuodongFan",
"html_url": "https://github.com/GuodongFan",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Please use the [forums](https://discuss.huggingface.co/) for such questions as we keep issues for bugs and feature requests only.",
"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 not... | 1,685 | 1,701 | 1,688 | NONE | null | ### Feature request
run_t5_mlm_flax.py
only generate a `flax_model.msgpack`
,but i want to obtain `pytorch_model.bin`.
### Motivation
convert msgpack to bin
### Your contribution
none | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23810/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23810/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23809 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23809/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23809/comments | https://api.github.com/repos/huggingface/transformers/issues/23809/events | https://github.com/huggingface/transformers/issues/23809 | 1,728,475,548 | I_kwDOCUB6oc5nBnGc | 23,809 | object of type 'IterableDataset' has no len() | {
"login": "johnchienbronci",
"id": 27708347,
"node_id": "MDQ6VXNlcjI3NzA4MzQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/27708347?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/johnchienbronci",
"html_url": "https://github.com/johnchienbronci",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"cc @sanchit-gandhi ",
"Hey @johnchienbronci - could you verify that all the columns `raw_column_names[split] + [\"target_text\"]` are in `raw_datasets[split]` for each split prior to calling the `.map` method? Failing that, could you paste the results of:\r\n```\r\ntransformers-cli env\r\n```\r\n\r\nAnd also pro... | 1,685 | 1,688 | 1,688 | NONE | null | **run script**:
run_speech_recognition_ctc_streaming.py (Multi GPU CTC with Dataset Streaming)
```
for split, dataset in raw_datasets.items():
vectorized_datasets[split] = (
dataset.map(prepare_dataset)
.remove_columns(raw_column_names[split] + ["target_text"])
.with_format("torc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23809/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23809/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23808 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23808/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23808/comments | https://api.github.com/repos/huggingface/transformers/issues/23808/events | https://github.com/huggingface/transformers/issues/23808 | 1,728,447,545 | I_kwDOCUB6oc5nBgQ5 | 23,808 | Why don't we set use_cache=False in default when training? | {
"login": "Coldog2333",
"id": 29707234,
"node_id": "MDQ6VXNlcjI5NzA3MjM0",
"avatar_url": "https://avatars.githubusercontent.com/u/29707234?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Coldog2333",
"html_url": "https://github.com/Coldog2333",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"We can't change the models as it would be a breaking change, sadly."
] | 1,685 | 1,685 | 1,685 | NONE | null | ### Feature request
Let's take GPT-2 as an example, in the current implementation (modeling_gpt2.py: Line 856~861):
```
if self.gradient_checkpointing and self.training:
if use_cache:
logger.warning_once(
"`use_cache=True` is incompatible with gradient checkpointing. Setting `use_cache=Fal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23808/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/23808/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23807 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23807/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23807/comments | https://api.github.com/repos/huggingface/transformers/issues/23807/events | https://github.com/huggingface/transformers/issues/23807 | 1,728,405,594 | I_kwDOCUB6oc5nBWBa | 23,807 | Same size on memory usage when loading gpt2 from torch.float16 and 8bit Quantization | {
"login": "czhang-trinity",
"id": 35928300,
"node_id": "MDQ6VXNlcjM1OTI4MzAw",
"avatar_url": "https://avatars.githubusercontent.com/u/35928300?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/czhang-trinity",
"html_url": "https://github.com/czhang-trinity",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"cc @younesbelkada ",
"Hi @czhang-trinity \r\nThanks for the issue, running your script on the current main branch gives me:\r\n\r\n```bash \r\n8 bit: 261462552\r\n16 bit: 261462552\r\n```\r\n\r\nThis is because GPT2 uses Conv1D in replacement to all linear layers. Therefore the 8bit conversion ends up converti... | 1,685 | 1,685 | 1,685 | NONE | null | ### System Info
- `transformers` version: 4.30.0.dev0
- Platform: Linux-5.15.0-1026-aws-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23807/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23807/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23806 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23806/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23806/comments | https://api.github.com/repos/huggingface/transformers/issues/23806/events | https://github.com/huggingface/transformers/issues/23806 | 1,728,334,603 | I_kwDOCUB6oc5nBEsL | 23,806 | bnb_4bit for Flan-T5-XL/XXL? Can't load on Colab T4... | {
"login": "i-am-neo",
"id": 102043285,
"node_id": "U_kgDOBhUOlQ",
"avatar_url": "https://avatars.githubusercontent.com/u/102043285?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/i-am-neo",
"html_url": "https://github.com/i-am-neo",
"followers_url": "https://api.github.com/users/i-am-neo/... | [] | closed | false | null | [] | [
"Can load using b16 sharded version."
] | 1,685 | 1,685 | 1,685 | NONE | null | ### System Info
- `transformers` version: 4.30.0.dev0
- Platform: Linux-5.15.107+-x86_64-with-glibc2.31
- Python version: 3.10.11
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflow version (GPU?): 2.12.0 (True)
- Flax version (CPU?/GPU?/TPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23806/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23806/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23805 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23805/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23805/comments | https://api.github.com/repos/huggingface/transformers/issues/23805/events | https://github.com/huggingface/transformers/pull/23805 | 1,728,281,601 | PR_kwDOCUB6oc5RecSO | 23,805 | [WIP] CI/CD Testing | {
"login": "AdnaneKhan",
"id": 2006441,
"node_id": "MDQ6VXNlcjIwMDY0NDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/2006441?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AdnaneKhan",
"html_url": "https://github.com/AdnaneKhan",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [] | 1,685 | 1,685 | 1,685 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23805/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23805/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23805",
"html_url": "https://github.com/huggingface/transformers/pull/23805",
"diff_url": "https://github.com/huggingface/transformers/pull/23805.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23805.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23803 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23803/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23803/comments | https://api.github.com/repos/huggingface/transformers/issues/23803/events | https://github.com/huggingface/transformers/pull/23803 | 1,728,204,789 | PR_kwDOCUB6oc5ReL1T | 23,803 | [WIP] CI/CD Testing | {
"login": "AdnaneKhan",
"id": 2006441,
"node_id": "MDQ6VXNlcjIwMDY0NDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/2006441?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AdnaneKhan",
"html_url": "https://github.com/AdnaneKhan",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [] | 1,685 | 1,685 | 1,685 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23803/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23803/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23803",
"html_url": "https://github.com/huggingface/transformers/pull/23803",
"diff_url": "https://github.com/huggingface/transformers/pull/23803.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23803.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23802 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23802/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23802/comments | https://api.github.com/repos/huggingface/transformers/issues/23802/events | https://github.com/huggingface/transformers/pull/23802 | 1,728,135,473 | PR_kwDOCUB6oc5Rd8jM | 23,802 | [WIP] Add CLIPViP | {
"login": "tensorpro",
"id": 23471886,
"node_id": "MDQ6VXNlcjIzNDcxODg2",
"avatar_url": "https://avatars.githubusercontent.com/u/23471886?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tensorpro",
"html_url": "https://github.com/tensorpro",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @amyeroberts ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23802). All of your documentation changes will be reflected on that endpoint.",
"@tensorpro Thank you very much for this PR and adding this great model!\r\nLet us know when this is ready for review an... | 1,685 | 1,691 | 1,691 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23802/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23802/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23802",
"html_url": "https://github.com/huggingface/transformers/pull/23802",
"diff_url": "https://github.com/huggingface/transformers/pull/23802.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23802.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23801 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23801/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23801/comments | https://api.github.com/repos/huggingface/transformers/issues/23801/events | https://github.com/huggingface/transformers/issues/23801 | 1,728,113,365 | I_kwDOCUB6oc5nAOrV | 23,801 | Training siamese (biencoder) based transformer model with gradient checkpointing throws error | {
"login": "sachinya00",
"id": 45940252,
"node_id": "MDQ6VXNlcjQ1OTQwMjUy",
"avatar_url": "https://avatars.githubusercontent.com/u/45940252?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sachinya00",
"html_url": "https://github.com/sachinya00",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc @ArthurZucker and @younesbelkada ",
"@sachinya00 What does your code look like, including training setup and training args?",
"I've updated the post with the code to reproduce the same",
"Hey, thanks for providing a reproduction script. \r\nBased on the provided traceback it seems like the issue lies wit... | 1,685 | 1,693 | 1,688 | NONE | null | ### System Info
PyTorch Lightning Version 1.6.5
Torch 1.13.0
Python version 3.8
CUDA Version: 11.4
4 NVIDIA A100-SXM4-40GBs
transformers 4.24.0
### Reproduction
After adding `model.gradient_checkpointing_enable()` to the training code, throwing below error
```RuntimeError: Expected to mark a variable r... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23801/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23801/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23800 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23800/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23800/comments | https://api.github.com/repos/huggingface/transformers/issues/23800/events | https://github.com/huggingface/transformers/pull/23800 | 1,728,093,266 | PR_kwDOCUB6oc5RdzVc | 23,800 | Log the right train_batch_size if using auto_find_batch_size and also log the adjusted value seperately. | {
"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... | [
{
"id": 2155169140,
"node_id": "MDU6TGFiZWwyMTU1MTY5MTQw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/trainer",
"name": "trainer",
"color": "2ef289",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
This PR will log the `train_batch_size` that is reduced when using the auto-batch-finder utility, and will also seperatly log what the reduced batch size is on a debug level.
Fixes # (issue)
Solves #23762
Solves #21950
## Before submitting
- [ ] This PR fixes a typo or improves t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23800/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23800/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23800",
"html_url": "https://github.com/huggingface/transformers/pull/23800",
"diff_url": "https://github.com/huggingface/transformers/pull/23800.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23800.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23799 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23799/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23799/comments | https://api.github.com/repos/huggingface/transformers/issues/23799/events | https://github.com/huggingface/transformers/pull/23799 | 1,728,076,649 | PR_kwDOCUB6oc5Rdvvp | 23,799 | Enable code-specific revision for code on the Hub | {
"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,685 | 1,685 | 1,685 | COLLABORATOR | null | # What does this PR do?
This PR adds a new `code_revision` argument to all auto classes `from_pretrained` (and the auto models `from_config`) to allow for a specific revision for code on the Hub. Since code can now live in a different repo than the weights, the `revision` argument can't be used directly for the code... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23799/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23799/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23799",
"html_url": "https://github.com/huggingface/transformers/pull/23799",
"diff_url": "https://github.com/huggingface/transformers/pull/23799.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23799.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23798 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23798/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23798/comments | https://api.github.com/repos/huggingface/transformers/issues/23798/events | https://github.com/huggingface/transformers/issues/23798 | 1,728,041,003 | I_kwDOCUB6oc5m_9Ar | 23,798 | TFBertTokenizer - support for "never_split" | {
"login": "benzitohhh",
"id": 861758,
"node_id": "MDQ6VXNlcjg2MTc1OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/861758?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/benzitohhh",
"html_url": "https://github.com/benzitohhh",
"followers_url": "https://api.github.com/users/b... | [] | closed | false | null | [] | [
"cc @Rocketknight1 ",
"Hi @benzitohhh , and sorry for the delay! This is an interesting and useful idea, but we're depending on the underlying Tensorflow Text layers, specifically [BertTokenizer](https://www.tensorflow.org/text/api_docs/python/text/BertTokenizer) in this case.\r\n\r\nI don't think there is a 'nev... | 1,685 | 1,687 | 1,687 | NONE | null | ### Feature request
Often vocabularies contain special tokens that should not be split.
For example, in model "anferico/bert-for-patents", the vocabulary contains a token "[abstract]" (token_id is 5)
https://huggingface.co/anferico/bert-for-patents/raw/main/vocab.txt
The normal `BertTokenizer` supports a para... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23798/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23798/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23797 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23797/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23797/comments | https://api.github.com/repos/huggingface/transformers/issues/23797/events | https://github.com/huggingface/transformers/pull/23797 | 1,728,032,202 | PR_kwDOCUB6oc5RdmBd | 23,797 | Fix last instances of kbit -> quantized | {
"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 | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [
{
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url"... | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | COLLABORATOR | null | # What does this PR do?
Just encountered a few kbit remaining. In particular the `_is_loaded_in_kbit` really needs to be changed, the others are just for consistency. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23797/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23797/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23797",
"html_url": "https://github.com/huggingface/transformers/pull/23797",
"diff_url": "https://github.com/huggingface/transformers/pull/23797.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23797.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23841 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23841/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23841/comments | https://api.github.com/repos/huggingface/transformers/issues/23841/events | https://github.com/huggingface/transformers/issues/23841 | 1,730,826,870 | I_kwDOCUB6oc5nKlJ2 | 23,841 | Causal language modeling documentation is wrong? | {
"login": "JoaoLages",
"id": 17574157,
"node_id": "MDQ6VXNlcjE3NTc0MTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/17574157?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JoaoLages",
"html_url": "https://github.com/JoaoLages",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Thanks a lot! Transfering this to transformers",
"It's just an example that we keep as simple as possible. You can customize it to your needs for your own trainings.",
"An example that is **wrong**, let's not try to argue that it isn't 😅 . In that example, you are interested in training to generate sentences,... | 1,685 | 1,688 | 1,688 | CONTRIBUTOR | null | I just noticed that [on this page](https://huggingface.co/docs/transformers/tasks/language_modeling) we do not add any end-of-speech token (EOS) to the end of the texts.
This means we are training a model that does not shut up! The EOS token should be added! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23841/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23841/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23796 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23796/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23796/comments | https://api.github.com/repos/huggingface/transformers/issues/23796/events | https://github.com/huggingface/transformers/pull/23796 | 1,727,728,043 | PR_kwDOCUB6oc5Rcj_r | 23,796 | fix: Replace `add_prefix_space` in `get_prompt_ids` with manual space for FastTokenizer compatibility | {
"login": "connor-henderson",
"id": 78612354,
"node_id": "MDQ6VXNlcjc4NjEyMzU0",
"avatar_url": "https://avatars.githubusercontent.com/u/78612354?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/connor-henderson",
"html_url": "https://github.com/connor-henderson",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sanchit-gandhi for sure just pushed something up"
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
Fixes #23764
As discussed in the issue the 'FastTokenizer' for Whisper and other models does not accept `add_prefix_space` as an argument to tokenize, so to make `get_prompt_ids` compatible across both slow and fast tokenizers this was replaced with `" " + text`
## Before submitting
- [... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23796/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/23796/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23796",
"html_url": "https://github.com/huggingface/transformers/pull/23796",
"diff_url": "https://github.com/huggingface/transformers/pull/23796.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23796.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23795 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23795/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23795/comments | https://api.github.com/repos/huggingface/transformers/issues/23795/events | https://github.com/huggingface/transformers/pull/23795 | 1,727,705,344 | PR_kwDOCUB6oc5RcfG_ | 23,795 | no_cuda does not take effect in non distributed environment | {
"login": "sywangyi",
"id": 36058628,
"node_id": "MDQ6VXNlcjM2MDU4NjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/36058628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sywangyi",
"html_url": "https://github.com/sywangyi",
"followers_url": "https://api.github.com/users/syw... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | Fixes # (issue)
no_cuda does not take effect in non distributed case. gpu is still selected.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23795/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/23795/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23795",
"html_url": "https://github.com/huggingface/transformers/pull/23795",
"diff_url": "https://github.com/huggingface/transformers/pull/23795.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23795.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23794 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23794/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23794/comments | https://api.github.com/repos/huggingface/transformers/issues/23794/events | https://github.com/huggingface/transformers/issues/23794 | 1,727,667,425 | I_kwDOCUB6oc5m-hzh | 23,794 | Transformer trainer training crashed with GLM models | {
"login": "renjie-liu",
"id": 36247193,
"node_id": "MDQ6VXNlcjM2MjQ3MTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/36247193?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/renjie-liu",
"html_url": "https://github.com/renjie-liu",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"The problem lies within your dataset, nothing to do with the `Trainer` :-)",
"Hi @sgugger, I'm new to `Transformer.Trainer`, wonder what's the issue here? how should I setup the dataset? Thanks!\r\n\r\nI thought the tokenizer should tokenize the text and return a dict with `input_ids` in it. then `transformers.D... | 1,685 | 1,688 | 1,688 | NONE | null | ### System Info
### Environment
```
- `transformers` version: 4.29.2
- Platform: Linux-5.15.107+-x86_64-with-glibc2.31
- Python version: 3.10.11
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflow version (GPU?): 2.12.0 (True)
- Fl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23794/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23794/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23793 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23793/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23793/comments | https://api.github.com/repos/huggingface/transformers/issues/23793/events | https://github.com/huggingface/transformers/issues/23793 | 1,727,653,058 | I_kwDOCUB6oc5m-eTC | 23,793 | Inference API takes forever and output: "Model ... is currently loading" | {
"login": "KennStack01",
"id": 67477516,
"node_id": "MDQ6VXNlcjY3NDc3NTE2",
"avatar_url": "https://avatars.githubusercontent.com/u/67477516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KennStack01",
"html_url": "https://github.com/KennStack01",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @Narsil ",
"Any update? :( ",
"Still unsolved. [The same problem in the Discord channel.](https://discord.com/channels/879548962464493619/1112875103311630366)",
"Hi, things should be back to normal, can you confirm ?\r\n\r\nThis model and some others were still running very old code, and some internal cha... | 1,685 | 1,689 | 1,689 | NONE | null | ### System Info
I'm currently working on my final project (Fine-tuning the "Helsinki-NLP/opus-mt-en-zh" and "Helsinki-NLP/opus-mt-zh-en" models for Translation English-Chinese), have already trained the model, and deployed it to the Hub. The issue is that I'm not able to consume the API properly: it's slow, it seems... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23793/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23793/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23792 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23792/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23792/comments | https://api.github.com/repos/huggingface/transformers/issues/23792/events | https://github.com/huggingface/transformers/pull/23792 | 1,727,640,278 | PR_kwDOCUB6oc5RcQ1i | 23,792 | Fix Trainer when model is loaded on a different GPU | {
"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,685 | 1,685 | 1,685 | COLLABORATOR | null | # What does this PR do?
When a small model is loaded with `device_map="auto"` it might end up all on GPU 1, so currently `is_model_parallel` is set to `False` (cause one device) and later on the Trainer moves the model to GPU 0 which fails the execution of all the Accelerate hooks.
This PR fixes this by making su... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23792/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23792/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23792",
"html_url": "https://github.com/huggingface/transformers/pull/23792",
"diff_url": "https://github.com/huggingface/transformers/pull/23792.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23792.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23791 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23791/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23791/comments | https://api.github.com/repos/huggingface/transformers/issues/23791/events | https://github.com/huggingface/transformers/issues/23791 | 1,727,229,407 | I_kwDOCUB6oc5m823f | 23,791 | [Bloom] Inconsistent results when testing pretrained model bloom under different dtypes(float16, float32) | {
"login": "Lemon-412",
"id": 57213526,
"node_id": "MDQ6VXNlcjU3MjEzNTI2",
"avatar_url": "https://avatars.githubusercontent.com/u/57213526?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lemon-412",
"html_url": "https://github.com/Lemon-412",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"@Lemon-412 have you try bloom_16 = BloomForCausalLMHF.from_pretrained(model_name).half().cuda()?\r\n\r\nI think \"model.cuda().to(dtype=torch.float16)\" is strange😿",
"Hey! Thanks for opening an issue. \r\nThe best way to test closeness between to tensors is to use `torch.testing.all_close(tensor_a, tensor_b, a... | 1,685 | 1,688 | 1,688 | NONE | null | ### System Info
Hi,
We suffer inconsistent results when running model 'bloom' under different dtypes(float16, float32)
Is that a bug?
Environment:
- `transformers` version: 4.29.1
- Platform: Linux-3.10.107-1-tlinux2_kvm_guest-0049-x86_64-with-glibc2.10
- Python version: 3.8.13
- Huggingface_hub version: 0.14... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23791/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23791/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23790 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23790/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23790/comments | https://api.github.com/repos/huggingface/transformers/issues/23790/events | https://github.com/huggingface/transformers/issues/23790 | 1,727,193,359 | I_kwDOCUB6oc5m8uEP | 23,790 | Model.generate stop code execution without any error | {
"login": "hitriyvalenok",
"id": 49437871,
"node_id": "MDQ6VXNlcjQ5NDM3ODcx",
"avatar_url": "https://avatars.githubusercontent.com/u/49437871?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hitriyvalenok",
"html_url": "https://github.com/hitriyvalenok",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hey @hitriyvalenok 👋 \r\n\r\nYour snippet seems to be working fine on my end -- have a look at [this notebook](https://colab.research.google.com/drive/1lyXcScMOPhTP1bM0waLakIOBpYq7IjVO?usp=sharing)",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this sti... | 1,685 | 1,689 | 1,689 | NONE | null | ### System Info
I am pretty new to HF, this is my first attempt to use a model. The problem is `model.generate` kinda abrupt the script execution without any error. Here’s my code:
```python
from transformers import RobertaTokenizer, T5ForConditionalGeneration
tokenizer = RobertaTokenizer.from_pretrained('Sal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23790/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23790/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23789 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23789/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23789/comments | https://api.github.com/repos/huggingface/transformers/issues/23789/events | https://github.com/huggingface/transformers/pull/23789 | 1,727,188,112 | PR_kwDOCUB6oc5RatuE | 23,789 | [OPT] Doc nit, using fast is fine | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | COLLABORATOR | null | # What does this PR do?
use_fast=False when loading OPT's tokenizer?
Fixes #23768 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23789/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23789/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23789",
"html_url": "https://github.com/huggingface/transformers/pull/23789",
"diff_url": "https://github.com/huggingface/transformers/pull/23789.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23789.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23788 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23788/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23788/comments | https://api.github.com/repos/huggingface/transformers/issues/23788/events | https://github.com/huggingface/transformers/issues/23788 | 1,727,138,480 | I_kwDOCUB6oc5m8gqw | 23,788 | [Agents] text_reader does not work | {
"login": "osanseviero",
"id": 7246357,
"node_id": "MDQ6VXNlcjcyNDYzNTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7246357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/osanseviero",
"html_url": "https://github.com/osanseviero",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"I'm not able to reproduce locally or on Colab. Are you using the official [demo Colab](https://colab.research.google.com/drive/1c7MHD-T1forUPGcC_jlwsIptOzpG3hSj)? It's probably some missing dependency so would be interesting to know more about the env where this is failing.",
"I was using Colab, but it seems the... | 1,685 | 1,685 | 1,685 | MEMBER | null | ### System Info
Google Colab, Python 3.10.11, transformers 4.29.2
### Who can help?
@sgugger @LysandreJik
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23788/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23788/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23787 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23787/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23787/comments | https://api.github.com/repos/huggingface/transformers/issues/23787/events | https://github.com/huggingface/transformers/pull/23787 | 1,727,099,986 | PR_kwDOCUB6oc5RabCX | 23,787 | Update trainer.mdx class_weights example | {
"login": "amitportnoy",
"id": 113588658,
"node_id": "U_kgDOBsU5sg",
"avatar_url": "https://avatars.githubusercontent.com/u/113588658?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amitportnoy",
"html_url": "https://github.com/amitportnoy",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | class_weights tensor should follow model's device
# 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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23787/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23787/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23787",
"html_url": "https://github.com/huggingface/transformers/pull/23787",
"diff_url": "https://github.com/huggingface/transformers/pull/23787.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23787.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23786 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23786/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23786/comments | https://api.github.com/repos/huggingface/transformers/issues/23786/events | https://github.com/huggingface/transformers/issues/23786 | 1,727,045,856 | I_kwDOCUB6oc5m8KDg | 23,786 | Convert Pre-LN Transformers into equivalent Pre-RMSNorm Transformers to accelerate inference and training | {
"login": "ZixuanJiang",
"id": 34562278,
"node_id": "MDQ6VXNlcjM0NTYyMjc4",
"avatar_url": "https://avatars.githubusercontent.com/u/34562278?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZixuanJiang",
"html_url": "https://github.com/ZixuanJiang",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,685 | 1,688 | 1,688 | NONE | null | ### Feature request
LayerNorm and RMSNorm are the top two normalization methods in Transformers. We unify them in Pre-Normalization Transformers in our paper https://arxiv.org/abs/2305.14858. The arithmetic equivalence allows us to convert Pre-LN Transformers into Pre-RMSNorm models without impact on the model functio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23786/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/23786/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23785 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23785/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23785/comments | https://api.github.com/repos/huggingface/transformers/issues/23785/events | https://github.com/huggingface/transformers/issues/23785 | 1,726,989,560 | I_kwDOCUB6oc5m78T4 | 23,785 | deepcopy added in pipeline, breaks anything that worked before that used Rlock etc. like streaming generation | {
"login": "pseudotensor",
"id": 2249614,
"node_id": "MDQ6VXNlcjIyNDk2MTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2249614?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pseudotensor",
"html_url": "https://github.com/pseudotensor",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"@pseudotensor you closed this without a comment. Is this issue still relevant ?",
"Github trying to be too smart with separate issue in another repo",
"@pseudotensor 👋 \r\n\r\nTIL \"The dictionary itself is passed in as **generate_kwargs and any mutation to the dictionary itself has no effect on the parent di... | 1,685 | 1,686 | 1,686 | NONE | null | ### System Info
transformers==4.29.2
python 3.10
### Who can help?
@gante @Narsil
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23785/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23785/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23784 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23784/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23784/comments | https://api.github.com/repos/huggingface/transformers/issues/23784/events | https://github.com/huggingface/transformers/issues/23784 | 1,726,945,344 | I_kwDOCUB6oc5m7xhA | 23,784 | CodeT5pEncoderDecoderModel does not support `device_map='auto'` yet. | {
"login": "karths8",
"id": 47289950,
"node_id": "MDQ6VXNlcjQ3Mjg5OTUw",
"avatar_url": "https://avatars.githubusercontent.com/u/47289950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karths8",
"html_url": "https://github.com/karths8",
"followers_url": "https://api.github.com/users/karths... | [] | closed | false | null | [] | [
"Based on the traceback, I would suggest the authors to update their code to add a `_no_split_module` class variable, which would fix the error. Now we don't necessarily have a say on other's repo, I would suggest you open an Issue on the hub (or event better a PR) to support this. ",
"@ArthurZucker it seems like... | 1,685 | 1,685 | 1,685 | NONE | null | ### System Info
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.24.0
- Platform: Linux-5.15.0-69-generic-x86_64-with-glibc2.31
- Python version: 3.10.9
- Huggingface_hub version: 0.10.1
- PyTorch version (GPU?): 1.12.1 (False)
- Tensorflow versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23784/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23784/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23783 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23783/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23783/comments | https://api.github.com/repos/huggingface/transformers/issues/23783/events | https://github.com/huggingface/transformers/pull/23783 | 1,726,934,404 | PR_kwDOCUB6oc5RZ3fd | 23,783 | Fix no such file or directory error | {
"login": "RissyRan",
"id": 20385466,
"node_id": "MDQ6VXNlcjIwMzg1NDY2",
"avatar_url": "https://avatars.githubusercontent.com/u/20385466?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RissyRan",
"html_url": "https://github.com/RissyRan",
"followers_url": "https://api.github.com/users/Ris... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Looks like the CI is complaining about code style now! Can you `pip install transformers[quality]` and then `make style` in the `transformers `directory, then commit/push? That will run our code formatters and hopefully resolve the i... | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
Add the logic to check if the output directory exists before opening the file. It fixes `no such file or directory` error when run [ViT model](https://github.com/huggingface/transformers/tree/8a817e1ecac6a420b1bdc701fcc33535a3b96ff5/examples/tensorflow/image-classification).
```
Traceback... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23783/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23783/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23783",
"html_url": "https://github.com/huggingface/transformers/pull/23783",
"diff_url": "https://github.com/huggingface/transformers/pull/23783.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23783.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23782 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23782/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23782/comments | https://api.github.com/repos/huggingface/transformers/issues/23782/events | https://github.com/huggingface/transformers/pull/23782 | 1,726,871,348 | PR_kwDOCUB6oc5RZp-q | 23,782 | [WIP] Add internimage | {
"login": "millionhz",
"id": 52637755,
"node_id": "MDQ6VXNlcjUyNjM3NzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/52637755?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/millionhz",
"html_url": "https://github.com/millionhz",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"All I did was copy the code from [here](https://huggingface.co/OpenGVLab/internimage_s_1k_224) as mentioned in #22240.\r\n\r\nI couldn't figure out the test cases so I commented those out for now. \r\nI manually imported the model and initialized an instance to see if it works and it did. \r\n\r\nI will fix the fa... | 1,685 | 1,685 | 1,685 | NONE | null | # What does this PR do?
The PR adds internimage to transformers. Addresses #22240
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONT... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23782/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23782/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23782",
"html_url": "https://github.com/huggingface/transformers/pull/23782",
"diff_url": "https://github.com/huggingface/transformers/pull/23782.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23782.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/25285 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/25285/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/25285/comments | https://api.github.com/repos/huggingface/transformers/issues/25285/events | https://github.com/huggingface/transformers/issues/25285 | 1,834,972,221 | I_kwDOCUB6oc5tX3Q9 | 25,285 | Sentence start got unexpected space | {
"login": "lucasjinreal",
"id": 21303438,
"node_id": "MDQ6VXNlcjIxMzAzNDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/21303438?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lucasjinreal",
"html_url": "https://github.com/lucasjinreal",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"2 things that could be problematic here\r\n1. a token that has a prefixspace (metasymbol for unigram or or accent G for BBPE etc)\r\n2. somewhere in the tokenizer chain there is a module within the tokenizer that is adding a prefix\r\n(add_prefix_space = True)\r\n\r\nI checked and token 12968 does not have prefix ... | 1,685 | 1,694 | 1,694 | NONE | null | 
I got some iput_ids which encoded, after append some tgt_ids to input_ids, the new decoded sentences added weired spaces.
Here is the code:
```python
from transformers import LlamaTokenizer
# any LLama ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/25285/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/25285/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23781 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23781/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23781/comments | https://api.github.com/repos/huggingface/transformers/issues/23781/events | https://github.com/huggingface/transformers/issues/23781 | 1,726,852,436 | I_kwDOCUB6oc5m7a1U | 23,781 | BART-fusion | {
"login": "jnj2102",
"id": 6268658,
"node_id": "MDQ6VXNlcjYyNjg2NTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6268658?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jnj2102",
"html_url": "https://github.com/jnj2102",
"followers_url": "https://api.github.com/users/jnj2102/... | [
{
"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 | [] | [
"@sgugger what do you think of this request? If you think it's a good addition to the repo, I can take this task on.",
"cc @sanchit-gandhi and @hollance ",
"Hey @jnj2102! Thanks for the feature request - while I think it's a cool model, I'm not sure it's best suited in the `transformers` library directly since ... | 1,685 | 1,685 | null | NONE | null | ### Model description
BART- fusion, a novel model for generating lyric interpretations from lyrics and music audio that combines a large-scale pre-trained language model with an audio encoder. It uses a cross-modal attention module to incorporate the audio representation into the lyrics representation to help the pr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23781/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23781/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23780 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23780/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23780/comments | https://api.github.com/repos/huggingface/transformers/issues/23780/events | https://github.com/huggingface/transformers/issues/23780 | 1,726,809,737 | I_kwDOCUB6oc5m7QaJ | 23,780 | trainer evaluation strucked when using dynamic padding in distributed evaluation | {
"login": "CaoYiwei",
"id": 26463693,
"node_id": "MDQ6VXNlcjI2NDYzNjkz",
"avatar_url": "https://avatars.githubusercontent.com/u/26463693?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CaoYiwei",
"html_url": "https://github.com/CaoYiwei",
"followers_url": "https://api.github.com/users/Cao... | [] | closed | false | null | [] | [
"Without a code reproducer, there is nothing we can do. The Trainer will pad samples to the same length before gathering them, so this is already accounted for.",
"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... | 1,685 | 1,688 | 1,688 | NONE | null | ### System Info
tranasformer version=4.28.1
deepspeed=0.9.2
As I known, trainer evaluate func is distributed. when I use longest padding in every eval batch, the program will be strucked. This won't happen when I use max_length padding. I guess processes is structed because gather operation between different len... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23780/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23780/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23779 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23779/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23779/comments | https://api.github.com/repos/huggingface/transformers/issues/23779/events | https://github.com/huggingface/transformers/issues/23779 | 1,726,799,406 | I_kwDOCUB6oc5m7N4u | 23,779 | considering add some logic here, responsing with some text like "I don't know" when the model output is with some probs lower than threshold ,which means that it is not that confident. | {
"login": "antibits",
"id": 6982140,
"node_id": "MDQ6VXNlcjY5ODIxNDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6982140?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/antibits",
"html_url": "https://github.com/antibits",
"followers_url": "https://api.github.com/users/antib... | [] | closed | false | null | [] | [
"stopping_criteria may works"
] | 1,685 | 1,685 | 1,685 | NONE | null | https://github.com/huggingface/transformers/blob/f67dac97bdc63874f2288546b3fa87e69d2ea1c8/src/transformers/generation/utils.py#LL2650C69-L2650C69
considering add some logic here, responsing with some text like "I don't know" when the model output is with some probs lower than threshold ,which means that it is not th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23779/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23779/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23778 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23778/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23778/comments | https://api.github.com/repos/huggingface/transformers/issues/23778/events | https://github.com/huggingface/transformers/issues/23778 | 1,726,783,071 | I_kwDOCUB6oc5m7J5f | 23,778 | Training ByT5 for next response generation | {
"login": "salokr",
"id": 19395011,
"node_id": "MDQ6VXNlcjE5Mzk1MDEx",
"avatar_url": "https://avatars.githubusercontent.com/u/19395011?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/salokr",
"html_url": "https://github.com/salokr",
"followers_url": "https://api.github.com/users/salokr/fo... | [] | closed | false | null | [] | [
"Hey! Thanks for reporting, however urgent this is, please refrain from pinging as many people as that. \r\nAll the questions related to `how to train` or `improve my training` should be asked on the [forum](https://discuss.huggingface.co/), as they are not bugs and the community is more adept to help you there. "
... | 1,685 | 1,685 | 1,685 | NONE | null | Hi,
I am trying to train a ByT5 model for text2text generation specifically, given previous chat history the objective is to produce a response for the input. I understand that I can use decoder-only models for the task, but we need to use the byte-level information which we will be using in the future.
For traini... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23778/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23778/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23777 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23777/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23777/comments | https://api.github.com/repos/huggingface/transformers/issues/23777/events | https://github.com/huggingface/transformers/issues/23777 | 1,726,776,777 | I_kwDOCUB6oc5m7IXJ | 23,777 | transformers-cli serve doesn't support muti-workers | {
"login": "CaoYiwei",
"id": 26463693,
"node_id": "MDQ6VXNlcjI2NDYzNjkz",
"avatar_url": "https://avatars.githubusercontent.com/u/26463693?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CaoYiwei",
"html_url": "https://github.com/CaoYiwei",
"followers_url": "https://api.github.com/users/Cao... | [] | closed | false | null | [] | [
"This is not an API we still maintain FYI."
] | 1,685 | 1,685 | 1,685 | NONE | null | ### System Info
transformers version=4.28.1
error:
You must pass the application as an import string to enable "reload" or "workers"
transformers-cli serve uses fastapi with uvicorn, the application adds routes in a class rather than decorators. In this way, uvicorn run can not import the applications. I don't ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23777/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23777/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23776 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23776/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23776/comments | https://api.github.com/repos/huggingface/transformers/issues/23776/events | https://github.com/huggingface/transformers/issues/23776 | 1,726,757,403 | I_kwDOCUB6oc5m7Dob | 23,776 | Saving Models Broke | {
"login": "johnml1135",
"id": 13733556,
"node_id": "MDQ6VXNlcjEzNzMzNTU2",
"avatar_url": "https://avatars.githubusercontent.com/u/13733556?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/johnml1135",
"html_url": "https://github.com/johnml1135",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"I tested out a work around - specifically adding empty id2label's etc. and it worked.\r\n```\r\nAutoConfig.from_pretrained(model_name, label2id={}, id2label={}, num_labels=0)\r\n```\r\nThis probably should have a longer term fix - possibly both in not auto-creating meaningless labels and making the save/restore no... | 1,685 | 1,692 | 1,692 | NONE | null | ### System Info
I get this error when building a hugginface NLLB model on a ClearML docker image as per this bug in my repo (https://github.com/sillsdev/machine.py/issues/14):
```
50% 500/1000 [08:59<09:03, 1.09s/it][INFO|trainer.py:2904] 2023-05-24 13:04:36,643 >> Saving model checkpoint to /root/machine/buil... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23776/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23776/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.