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/22494 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22494/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22494/comments | https://api.github.com/repos/huggingface/transformers/issues/22494/events | https://github.com/huggingface/transformers/pull/22494 | 1,649,479,664 | PR_kwDOCUB6oc5NW9VV | 22,494 | Bump redis from 4.5.3 to 4.5.4 in /examples/research_projects/decision_transformer | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22494). All of your documentation changes will be reflected on that endpoint."
] | 1,680 | 1,680 | 1,680 | CONTRIBUTOR | null | Bumps [redis](https://github.com/redis/redis-py) from 4.5.3 to 4.5.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/redis/redis-py/releases">redis's releases</a>.</em></p>
<blockquote>
<h2>4.5.4</h2>
<h1>Changes</h1>
<p>Upgrade urgency: SECURITY, contains fixes to security i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22494/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22494/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22494",
"html_url": "https://github.com/huggingface/transformers/pull/22494",
"diff_url": "https://github.com/huggingface/transformers/pull/22494.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22494.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22493 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22493/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22493/comments | https://api.github.com/repos/huggingface/transformers/issues/22493/events | https://github.com/huggingface/transformers/pull/22493 | 1,649,387,116 | PR_kwDOCUB6oc5NWpK9 | 22,493 | Backbone add out indices | {
"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,680 | 1,680 | 1,680 | COLLABORATOR | null | # What does this PR do?
Add out_indices as a way to specify which feature maps are returned in the backbone.
This isn't strictly necessary for cross loading timm backbones and is an optional design choice.
Reasoning:
* Greater compatibility between timm and transformer models when loading with `AutoBackbone`... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22493/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22493/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22493",
"html_url": "https://github.com/huggingface/transformers/pull/22493",
"diff_url": "https://github.com/huggingface/transformers/pull/22493.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22493.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22492 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22492/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22492/comments | https://api.github.com/repos/huggingface/transformers/issues/22492/events | https://github.com/huggingface/transformers/issues/22492 | 1,649,269,176 | I_kwDOCUB6oc5iTdm4 | 22,492 | Errror even if offload_dir is provided | {
"login": "toncho11",
"id": 1851997,
"node_id": "MDQ6VXNlcjE4NTE5OTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1851997?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/toncho11",
"html_url": "https://github.com/toncho11",
"followers_url": "https://api.github.com/users/tonch... | [] | closed | false | null | [] | [
"Actually this is in accelerate. I need to move it there."
] | 1,680 | 1,680 | 1,680 | NONE | null | ### System Info
Windows 10
16 GB RAM
4GB NVIDIA
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give det... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22492/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22492/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22491 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22491/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22491/comments | https://api.github.com/repos/huggingface/transformers/issues/22491/events | https://github.com/huggingface/transformers/issues/22491 | 1,649,203,856 | I_kwDOCUB6oc5iTNqQ | 22,491 | In one-node multi-GPU setups, the ImageProcessor module in Detr and other object detection models may cause an error in the Trainer. | {
"login": "alexw994",
"id": 37922390,
"node_id": "MDQ6VXNlcjM3OTIyMzkw",
"avatar_url": "https://avatars.githubusercontent.com/u/37922390?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexw994",
"html_url": "https://github.com/alexw994",
"followers_url": "https://api.github.com/users/ale... | [] | closed | false | null | [] | [
"You should use DistributedDataParallel for multi-GPU setup, which is better supported and the recommended way from the PyTorch team. It is supported by the Trainer, but just launch your training with `torchrun` instead of `python`.",
"This issue has been automatically marked as stale because it has not had recen... | 1,680 | 1,683 | 1,683 | NONE | null | ### System Info
When training object detection models using multiple GPUs in a single node, I encountered an issue with nn.DataParallel. The nn.DataParallel module splits Tensor data across each GPU before model inference, but it does not split List data. Since all object detection ImageProcessor modules return List o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22491/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22491/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22490 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22490/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22490/comments | https://api.github.com/repos/huggingface/transformers/issues/22490/events | https://github.com/huggingface/transformers/issues/22490 | 1,649,200,658 | I_kwDOCUB6oc5iTM4S | 22,490 | Adding a skip_special_tokens Parameter to .encode() in Transformers | {
"login": "Beyondo",
"id": 58893646,
"node_id": "MDQ6VXNlcjU4ODkzNjQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/58893646?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Beyondo",
"html_url": "https://github.com/Beyondo",
"followers_url": "https://api.github.com/users/Beyond... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | closed | false | null | [] | [
"cc @ArthurZucker ",
"Hey, we have to consider whether or not we want to maintain this and add this as a functionality to ALL tokenizers. \r\nIf you actually want to `skip` the special tokens, then a simple way to do this in the `slow` tokenizer is to modify the `tokenize` function like the following: \r\n```pyth... | 1,680 | 1,692 | 1,692 | NONE | null | ### Feature request
I would like to propose adding a skip_special_tokens parameter to the .encode() method in Transformers. Currently, in order to achieve this behavior, I have to either create two different tokenizers or use a workaround such as inserting a character in the middle of a special token and then removing... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22490/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22490/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22489 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22489/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22489/comments | https://api.github.com/repos/huggingface/transformers/issues/22489/events | https://github.com/huggingface/transformers/pull/22489 | 1,649,070,763 | PR_kwDOCUB6oc5NVkn8 | 22,489 | fix FSDP version related issues | {
"login": "pacman100",
"id": 13534540,
"node_id": "MDQ6VXNlcjEzNTM0NTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pacman100",
"html_url": "https://github.com/pacman100",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks fix!"
] | 1,680 | 1,681 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
1. This checks if the arg is available before using it to be backward compatible.
2. Fixes #22446 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22489/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/22489/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22489",
"html_url": "https://github.com/huggingface/transformers/pull/22489",
"diff_url": "https://github.com/huggingface/transformers/pull/22489.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22489.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22488 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22488/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22488/comments | https://api.github.com/repos/huggingface/transformers/issues/22488/events | https://github.com/huggingface/transformers/issues/22488 | 1,649,050,485 | I_kwDOCUB6oc5iSoN1 | 22,488 | Accelerate support for GLM | {
"login": "larrylawl",
"id": 40198156,
"node_id": "MDQ6VXNlcjQwMTk4MTU2",
"avatar_url": "https://avatars.githubusercontent.com/u/40198156?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/larrylawl",
"html_url": "https://github.com/larrylawl",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"You just need to add the proper attribute to `GLMPreTrainedModel` so that it knows which layers should not be split across GPUs and then test it works properly. Since this model uses the code on the Hub feature, the code of the model needs to be changed [there](https://huggingface.co/THUDM/glm-10b/blob/main/modeli... | 1,680 | 1,683 | 1,683 | NONE | null | ### Feature request
Accelerate support for [GLM](https://github.com/THUDM/GLM).
### Motivation
[GLM](https://github.com/THUDM/GLM) is a SOTA chinese LLM. However, running the following code...
```
from transformers import AutoModelForSeq2SeqLM
model = AutoModelForSeq2SeqLM.from_pretrained("THUDM/glm-10b", trust... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22488/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22488/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22487 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22487/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22487/comments | https://api.github.com/repos/huggingface/transformers/issues/22487/events | https://github.com/huggingface/transformers/issues/22487 | 1,648,959,368 | I_kwDOCUB6oc5iSR-I | 22,487 | Support `text-to-speech` in `pipeline` function and in Optimum | {
"login": "josephrocca",
"id": 1167575,
"node_id": "MDQ6VXNlcjExNjc1NzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1167575?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/josephrocca",
"html_url": "https://github.com/josephrocca",
"followers_url": "https://api.github.com/us... | [
{
"id": 1771187924,
"node_id": "MDU6TGFiZWwxNzcxMTg3OTI0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Pipeline",
"name": "Core: Pipeline",
"color": "FF7066",
"default": false,
"description": "Internals of the library; Pipeline."
},
{
"id": 264862... | closed | false | null | [] | [
"cc @sanchit-gandhi ",
"Indeed, a TTS pipeline would be super helpful to run SpeechT5. We're currently planning on waiting till we have 1-2 more TTS models in the library before pushing ahead with a TTS pipeline, in order to verify that the pipeline is generalisable and gives a benefit over loading a single model... | 1,680 | 1,692 | 1,692 | CONTRIBUTOR | null | ### Feature request
SpeechT5 was recently added to Transformers:
* **Blog post**: https://huggingface.co/blog/speecht5
* **Spaces demo**: https://huggingface.co/spaces/Matthijs/speecht5-tts-demo
* **Models**: https://huggingface.co/mechanicalsea/speecht5-tts
It would be great if `text-to-speech` could be sup... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22487/reactions",
"total_count": 4,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 3
} | https://api.github.com/repos/huggingface/transformers/issues/22487/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22486 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22486/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22486/comments | https://api.github.com/repos/huggingface/transformers/issues/22486/events | https://github.com/huggingface/transformers/pull/22486 | 1,648,930,195 | PR_kwDOCUB6oc5NVHFq | 22,486 | fix `_no_split_modules` for Whisper model | {
"login": "pacman100",
"id": 13534540,
"node_id": "MDQ6VXNlcjEzNTM0NTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pacman100",
"html_url": "https://github.com/pacman100",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,680 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
1. fix `_no_split_modules` for Whisper model | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22486/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22486/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22486",
"html_url": "https://github.com/huggingface/transformers/pull/22486",
"diff_url": "https://github.com/huggingface/transformers/pull/22486.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22486.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22485 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22485/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22485/comments | https://api.github.com/repos/huggingface/transformers/issues/22485/events | https://github.com/huggingface/transformers/issues/22485 | 1,648,781,465 | I_kwDOCUB6oc5iRmiZ | 22,485 | Add Cross attention to GPTNeo | {
"login": "gagan3012",
"id": 49101362,
"node_id": "MDQ6VXNlcjQ5MTAxMzYy",
"avatar_url": "https://avatars.githubusercontent.com/u/49101362?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gagan3012",
"html_url": "https://github.com/gagan3012",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"@patil-suraj ",
"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... | 1,680 | 1,684 | 1,684 | NONE | null | ### Feature request
I have been working on using GPTNeo as a decoder for an encoder-decoder model, and I was hoping to add cross attention to GPTNeo.
### Motivation
For encoder-decoder model
### Your contribution
I would like to submit a PR for it but anyone is up to taking it | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22485/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22485/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22484 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22484/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22484/comments | https://api.github.com/repos/huggingface/transformers/issues/22484/events | https://github.com/huggingface/transformers/issues/22484 | 1,648,621,104 | I_kwDOCUB6oc5iQ_Yw | 22,484 | Load generation config from model config Error! | {
"login": "CinderellaCc",
"id": 33564743,
"node_id": "MDQ6VXNlcjMzNTY0NzQz",
"avatar_url": "https://avatars.githubusercontent.com/u/33564743?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CinderellaCc",
"html_url": "https://github.com/CinderellaCc",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hey @CinderellaCc 👋 Thank you for raising the issue!\r\n\r\nI'm not sure I follow the exact details if your issue -- would you be able to share a stand-alone short script to reproduce the issue? :)\r\n\r\n`from_model_config()` calls `.to_dict()` internally, and it should work with model config objects 🤔 ",
"T... | 1,680 | 1,683 | 1,683 | NONE | null | ### System Info
- `transformers` version: 4.27.4
- Platform: Linux-3.10.0-1160.11.1.el7.x86_64-x86_64-with-glibc2.10
- Python version: 3.8.16
- Huggingface_hub version: 0.13.2
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not instal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22484/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22484/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22483 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22483/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22483/comments | https://api.github.com/repos/huggingface/transformers/issues/22483/events | https://github.com/huggingface/transformers/issues/22483 | 1,648,554,581 | I_kwDOCUB6oc5iQvJV | 22,483 | `libssl.so.10' not found but ll exsit | {
"login": "co-develop-drv",
"id": 50092251,
"node_id": "MDQ6VXNlcjUwMDkyMjUx",
"avatar_url": "https://avatars.githubusercontent.com/u/50092251?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/co-develop-drv",
"html_url": "https://github.com/co-develop-drv",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"it is my mistake:chmod 775 "
] | 1,680 | 1,680 | 1,680 | NONE | null | ### System Info
ImportError: /home/aaa/anaconda3/envs/ner/lib/python3.9/site-packages/tokenizers/../../../libssl.so.10: version `libssl.so.10' not found (required by /home/aaa/anaconda3/envs/ner/lib/python3.9/site-packages/tokenizers/tokenizers.cpython-39-x86_64-linux-gnu.so)
(ner) aaa@:lib$ ll /home/aaa/anaconda3/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22483/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22483/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22482 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22482/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22482/comments | https://api.github.com/repos/huggingface/transformers/issues/22482/events | https://github.com/huggingface/transformers/issues/22482 | 1,648,524,598 | I_kwDOCUB6oc5iQn02 | 22,482 | DDP + gloo + gpt2 crashes | {
"login": "dakinggg",
"id": 43149077,
"node_id": "MDQ6VXNlcjQzMTQ5MDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/43149077?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dakinggg",
"html_url": "https://github.com/dakinggg",
"followers_url": "https://api.github.com/users/dak... | [] | closed | false | null | [] | [
"We had to change the bias to `torch.bool` especially because the `torch.where` operations are no longer supported with `uint8` in the most recent versions of pytorch.\r\n> Use of uint8 masks in torch.where has been deprecated for couple years, and though it still works in pytorch eager (with a warning), support f... | 1,680 | 1,690 | 1,690 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.27.4
- Platform: macOS-12.6-arm64-arm-64bit (also have tested on ubuntu)
- Python version: 3.10.9
- Huggingface_hub version: 0.13.3
- PyTorch version (GPU?): 1.13.1 (False) (also have tested on older torch versions)
- Tensorflow version (GPU?): not installed (NA)
- F... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22482/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22482/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22481 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22481/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22481/comments | https://api.github.com/repos/huggingface/transformers/issues/22481/events | https://github.com/huggingface/transformers/pull/22481 | 1,648,439,073 | PR_kwDOCUB6oc5NTgB9 | 22,481 | Fix OPTForQuestionAnswering doc string | {
"login": "curlup",
"id": 338607,
"node_id": "MDQ6VXNlcjMzODYwNw==",
"avatar_url": "https://avatars.githubusercontent.com/u/338607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/curlup",
"html_url": "https://github.com/curlup",
"followers_url": "https://api.github.com/users/curlup/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger Thanks! Done! (took me two attempts 😅 )"
] | 1,680 | 1,680 | 1,680 | CONTRIBUTOR | null | Fixes OPTForQuestionAnswering doc string for more adequate model answer decoding
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUT... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22481/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22481/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22481",
"html_url": "https://github.com/huggingface/transformers/pull/22481",
"diff_url": "https://github.com/huggingface/transformers/pull/22481.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22481.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22480 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22480/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22480/comments | https://api.github.com/repos/huggingface/transformers/issues/22480/events | https://github.com/huggingface/transformers/issues/22480 | 1,648,409,682 | I_kwDOCUB6oc5iQLxS | 22,480 | Evaluate QA models using run_qa.py script | {
"login": "Yulong-W",
"id": 90089868,
"node_id": "MDQ6VXNlcjkwMDg5ODY4",
"avatar_url": "https://avatars.githubusercontent.com/u/90089868?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Yulong-W",
"html_url": "https://github.com/Yulong-W",
"followers_url": "https://api.github.com/users/Yul... | [] | closed | false | null | [] | [
"The same command given in the README without the training prompts works perfectly. Just tried:\r\n```\r\npython examples/pytorch/question-answering/run_qa.py \\\r\n --model_name_or_path deepset/deberta-v3-base-squad2 \\\r\n --dataset_name squad \\\r\n --do_eval \\\r\n --max_seq_length 384 \\\r\n --doc_stride ... | 1,680 | 1,680 | 1,680 | NONE | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22480/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22480/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22479 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22479/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22479/comments | https://api.github.com/repos/huggingface/transformers/issues/22479/events | https://github.com/huggingface/transformers/pull/22479 | 1,648,390,017 | PR_kwDOCUB6oc5NTVhN | 22,479 | Make FlaxPreTrainedModel a Flax Module | {
"login": "cgarciae",
"id": 5862228,
"node_id": "MDQ6VXNlcjU4NjIyMjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5862228?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cgarciae",
"html_url": "https://github.com/cgarciae",
"followers_url": "https://api.github.com/users/cgarc... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22479). All of your documentation changes will be reflected on that endpoint.",
"Thanks for the review @sanchit-gandhi !\r\n\r\n> => perhaps as a start we first make a PR that triggers this warning (advising users that the ... | 1,680 | 1,681 | 1,680 | NONE | null | Moved to #22627 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22479/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22479/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22479",
"html_url": "https://github.com/huggingface/transformers/pull/22479",
"diff_url": "https://github.com/huggingface/transformers/pull/22479.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22479.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22478 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22478/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22478/comments | https://api.github.com/repos/huggingface/transformers/issues/22478/events | https://github.com/huggingface/transformers/issues/22478 | 1,648,150,561 | I_kwDOCUB6oc5iPMgh | 22,478 | Implement safetensors checkpoint loading for Trainer | {
"login": "ViktorooReps",
"id": 56936206,
"node_id": "MDQ6VXNlcjU2OTM2MjA2",
"avatar_url": "https://avatars.githubusercontent.com/u/56936206?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ViktorooReps",
"html_url": "https://github.com/ViktorooReps",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The checkpoints are not saved in that format so there is no `model.safetensors` file to load from. We could add a training argument to use this format instead of the PyTorch format indeed."
] | 1,680 | 1,680 | 1,680 | CONTRIBUTOR | null | ### Feature request
At the moment, Trainer loads models with `torch.load` method directly onto the cpu:
(`Trainer._load_from_checkpoint` method)
```python
...
# We load the model state dict on the CPU to avoid an OOM error.
state_dict = torch.load(os.path.join(re... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22478/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22478/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22477 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22477/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22477/comments | https://api.github.com/repos/huggingface/transformers/issues/22477/events | https://github.com/huggingface/transformers/pull/22477 | 1,647,875,495 | PR_kwDOCUB6oc5NRoZo | 22,477 | [WIP] Ignore this. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Only deta affected confirmed."
] | 1,680 | 1,680 | 1,680 | 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 with a d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22477/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22477/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22477",
"html_url": "https://github.com/huggingface/transformers/pull/22477",
"diff_url": "https://github.com/huggingface/transformers/pull/22477.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22477.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22476 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22476/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22476/comments | https://api.github.com/repos/huggingface/transformers/issues/22476/events | https://github.com/huggingface/transformers/issues/22476 | 1,647,868,740 | I_kwDOCUB6oc5iOHtE | 22,476 | Export pix2struct models to ONNX | {
"login": "arvisioncode",
"id": 105910211,
"node_id": "U_kgDOBlAPww",
"avatar_url": "https://avatars.githubusercontent.com/u/105910211?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arvisioncode",
"html_url": "https://github.com/arvisioncode",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"ONNX conversion is now fully handled by the `optimum` library, so you should open your issue there :-)",
"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 f... | 1,680 | 1,683 | 1,683 | NONE | null | How can the pix2struct models be exported to ONNX?
I think these models are not available yet to make the transformation with:
!python -m transformers.onnx --model=google/pix2struct-docvqa-base --feature=vision2seq-lm scratch/onnx --atol 1e-3
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22476/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22476/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22475 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22475/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22475/comments | https://api.github.com/repos/huggingface/transformers/issues/22475/events | https://github.com/huggingface/transformers/pull/22475 | 1,647,752,909 | PR_kwDOCUB6oc5NROGl | 22,475 | Soft error whisper. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,681 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
Moving the hard error on whisper timestamp to a soft error.
Results are definitely odd potentially non sensical, but at least we're not hard errorring out.
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22475/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22475/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22475",
"html_url": "https://github.com/huggingface/transformers/pull/22475",
"diff_url": "https://github.com/huggingface/transformers/pull/22475.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22475.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22474 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22474/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22474/comments | https://api.github.com/repos/huggingface/transformers/issues/22474/events | https://github.com/huggingface/transformers/pull/22474 | 1,647,623,797 | PR_kwDOCUB6oc5NQx1V | 22,474 | Update `Wav2Vec2ProcessorWithLM` doc example | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I would rather make sure that the dataset was indeed changed! But otherwise ok for this",
"> I would rather make sure that the dataset was indeed changed! But otherwise ok for this\r\n\r\nIt's caused by the new release of `datasets... | 1,680 | 1,680 | 1,680 | COLLABORATOR | null | # What does this PR do?
The doctest for this doc example starts to fail. Even I roll back to commits a few days ago, it still fails. I think it's a dataset issue, so just updating the expected values. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22474/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22474/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22474",
"html_url": "https://github.com/huggingface/transformers/pull/22474",
"diff_url": "https://github.com/huggingface/transformers/pull/22474.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22474.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22473 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22473/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22473/comments | https://api.github.com/repos/huggingface/transformers/issues/22473/events | https://github.com/huggingface/transformers/pull/22473 | 1,647,562,226 | PR_kwDOCUB6oc5NQkfx | 22,473 | Docs fix: Multinomial sampling decoding needs "num_beams=1", since by default it is usually not 1. | {
"login": "manueldeprada",
"id": 6536835,
"node_id": "MDQ6VXNlcjY1MzY4MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6536835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manueldeprada",
"html_url": "https://github.com/manueldeprada",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,680 | 1,680 | CONTRIBUTOR | null | # Fix error in docs: multinomial sampling decoding strategy
As indicated in the library source code:
https://github.com/huggingface/transformers/blob/228792a9dc0c36f1e82ab441e1b1991d116ee0a0/src/transformers/generation/utils.py#LL1364-L1367
Multinomial sampling needs `num_beams=1`. However, this is not indicated... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22473/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22473/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22473",
"html_url": "https://github.com/huggingface/transformers/pull/22473",
"diff_url": "https://github.com/huggingface/transformers/pull/22473.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22473.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22472 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22472/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22472/comments | https://api.github.com/repos/huggingface/transformers/issues/22472/events | https://github.com/huggingface/transformers/pull/22472 | 1,647,460,604 | PR_kwDOCUB6oc5NQOVn | 22,472 | Relax `eos_token_id < 0` checks in `generate()` from `ValueError` to warning | {
"login": "lewtun",
"id": 26859204,
"node_id": "MDQ6VXNlcjI2ODU5MjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lewtun",
"html_url": "https://github.com/lewtun",
"followers_url": "https://api.github.com/users/lewtun/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for the review @sgugger - I've now fixed the logging and reverted the change on `min_length`"
] | 1,680 | 1,680 | 1,680 | 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/22472/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22472/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22472",
"html_url": "https://github.com/huggingface/transformers/pull/22472",
"diff_url": "https://github.com/huggingface/transformers/pull/22472.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22472.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22471 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22471/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22471/comments | https://api.github.com/repos/huggingface/transformers/issues/22471/events | https://github.com/huggingface/transformers/pull/22471 | 1,647,437,809 | PR_kwDOCUB6oc5NQJUW | 22,471 | Llama: support for `max_position_embeddings` | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,680 | 1,680 | MEMBER | null | # What does this PR do?
Related to #22433.
`LlamaConfig`, as opposed to other models, did not support `max_position_embeddings`. Instead, the position embedding class was hardcoded to a length of `2048`. This PR rectifies that, keeping the `2048` default. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22471/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22471/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22471",
"html_url": "https://github.com/huggingface/transformers/pull/22471",
"diff_url": "https://github.com/huggingface/transformers/pull/22471.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22471.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22470 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22470/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22470/comments | https://api.github.com/repos/huggingface/transformers/issues/22470/events | https://github.com/huggingface/transformers/pull/22470 | 1,647,430,730 | PR_kwDOCUB6oc5NQHwi | 22,470 | [NLLB-MoE] `model_type` update for auto mapping | {
"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,680 | 1,680 | 1,680 | COLLABORATOR | null | # What does this PR do?
Changes the `model_type` to allow users using the `AutoModel` .
While we are at it, also moved the testing model to `hf-internal-testing`
Fixes #22461 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22470/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22470/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22470",
"html_url": "https://github.com/huggingface/transformers/pull/22470",
"diff_url": "https://github.com/huggingface/transformers/pull/22470.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22470.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22469 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22469/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22469/comments | https://api.github.com/repos/huggingface/transformers/issues/22469/events | https://github.com/huggingface/transformers/issues/22469 | 1,647,346,766 | I_kwDOCUB6oc5iMIRO | 22,469 | ViTModel extract only last layer's attention weights | {
"login": "Interpause",
"id": 42513874,
"node_id": "MDQ6VXNlcjQyNTEzODc0",
"avatar_url": "https://avatars.githubusercontent.com/u/42513874?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Interpause",
"html_url": "https://github.com/Interpause",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Or you can adapt the modeling code of ViT to suit your needs. That is why each model is fully defined in their modeling file.",
"I see, okay then."
] | 1,680 | 1,680 | 1,680 | NONE | null | ### Feature request
See: https://huggingface.co/docs/transformers/model_doc/vit#transformers.ViTModel
I propose a new keyword argument for `forward()`, `output_attention_layers: Tuple[int, ...] = (,)`, that allows one to specify which layers to extract attention weights for when `output_attentions=True`. When speci... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22469/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22469/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22468 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22468/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22468/comments | https://api.github.com/repos/huggingface/transformers/issues/22468/events | https://github.com/huggingface/transformers/issues/22468 | 1,647,330,246 | I_kwDOCUB6oc5iMEPG | 22,468 | Wrong results for inferencing a GLPN model on MPS device | {
"login": "arybnikov",
"id": 126671893,
"node_id": "U_kgDOB4zcFQ",
"avatar_url": "https://avatars.githubusercontent.com/u/126671893?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arybnikov",
"html_url": "https://github.com/arybnikov",
"followers_url": "https://api.github.com/users/arybni... | [] | closed | false | null | [] | [
"Hi @arybnikov, thanks for the detailed reproduction snippet and example pictures, it really helps. \r\n\r\nThis is indeed odd. I'll look into it. ",
"@amyeroberts thanks for the quick response!\r\n\r\nI'd like to add that it's getting a little bit better with removed ```with torch.no_grad():``` context manager. ... | 1,680 | 1,683 | 1,683 | NONE | null | ### System Info
Hi, there. I've discovered strange behaviour when using MPS device. When infer the same model with the same input on "mps" device, the result is numerically wrong and meaningless. Thanks in advance for the help!
MPS | CPU
:-------------------------:|:-------------------------:
 a... | 1,680 | 1,693 | 1,683 | NONE | null | ### System Info
transformers version 4.28.0.dev
### Who can help?
_No response_
### Information
- [x] The official example scripts
- [ ] My own modified scripts
### Tasks
- [x] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give det... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22467/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22467/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22466 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22466/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22466/comments | https://api.github.com/repos/huggingface/transformers/issues/22466/events | https://github.com/huggingface/transformers/pull/22466 | 1,647,301,860 | PR_kwDOCUB6oc5NPrgr | 22,466 | 🚨🚨🚨 Fix ordering of height, width for BLIP image processor | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,680 | 1,680 | COLLABORATOR | null | # What does this PR do?
The BLIP image processor incorrectly passed in the dimensions to resize in the order `(width, height)`. This is reordered to be correct.
In most cases, this won't have an effect as the default height and width are the same. However, this is not backwards compatible for custom configuratio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22466/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22466/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22466",
"html_url": "https://github.com/huggingface/transformers/pull/22466",
"diff_url": "https://github.com/huggingface/transformers/pull/22466.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22466.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22465 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22465/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22465/comments | https://api.github.com/repos/huggingface/transformers/issues/22465/events | https://github.com/huggingface/transformers/issues/22465 | 1,647,281,343 | I_kwDOCUB6oc5iL4S_ | 22,465 | Whisper should suppress task tokens | {
"login": "guillaumekln",
"id": 4805513,
"node_id": "MDQ6VXNlcjQ4MDU1MTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/4805513?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guillaumekln",
"html_url": "https://github.com/guillaumekln",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Nice! You indeed reported this to the correct place, thanks for this catch. We should update the model! ",
"Great catch! Would you like to open some PR's on the HF Hub to fix these `suppress_tokens` lists @guillaumekln? E.g. for the `tiny` model we need to update the list of `suppress_tokens` in the generation c... | 1,680 | 1,680 | 1,680 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.27.4
- Platform: Linux-5.19.0-38-generic-x86_64-with-glibc2.35
- Python version: 3.10.6
- Huggingface_hub version: 0.13.3
- PyTorch version (GPU?): 2.0.0+cu117 (True)
### Who can help?
@ArthurZucker @sanchit-gandhi
### Information
- [ ] The official exampl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22465/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22465/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22464 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22464/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22464/comments | https://api.github.com/repos/huggingface/transformers/issues/22464/events | https://github.com/huggingface/transformers/issues/22464 | 1,647,281,116 | I_kwDOCUB6oc5iL4Pc | 22,464 | Flaky test for NLLB-MoE Model | {
"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 | [] | [
"Yep, I have no idea why 😓 ",
"Looked into this and I think the flakiness is caused by the natural variability in the sparse MoE layers. Specifically that when they calculate which experts to use in the gating logic, they’re computing probabilities imperfectly for two different sets of inputs: one with prior inp... | 1,680 | 1,682 | 1,682 | COLLABORATOR | null | ### System Info
Environment: Circle CI test_torch image, defined [here](https://github.com/huggingface/transformers/blob/c15f937581048fa28f77794c4f6a257e14d272cb/.circleci/create_circleci_config.py#L211)
### Who can help?
@ArthurZucker
### Information
- [ ] The official example scripts
- [ ] My own mod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22464/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22464/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22463 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22463/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22463/comments | https://api.github.com/repos/huggingface/transformers/issues/22463/events | https://github.com/huggingface/transformers/pull/22463 | 1,647,259,731 | PR_kwDOCUB6oc5NPiYW | 22,463 | Skip flaky NLLB Moe test for now | {
"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 | [] | [
"cc @sgugger @ArthurZucker ",
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks Amy!"
] | 1,680 | 1,680 | 1,680 | COLLABORATOR | null | # What does this PR do?
Skips flaky test. See failed CI run here: https://app.circleci.com/pipelines/github/huggingface/transformers/60931/workflows/4642cd50-8d8c-4a6b-bea9-b077ff7400cf/jobs/747651
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22463/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/22463/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22463",
"html_url": "https://github.com/huggingface/transformers/pull/22463",
"diff_url": "https://github.com/huggingface/transformers/pull/22463.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22463.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22462 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22462/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22462/comments | https://api.github.com/repos/huggingface/transformers/issues/22462/events | https://github.com/huggingface/transformers/issues/22462 | 1,646,860,832 | I_kwDOCUB6oc5iKRog | 22,462 | Can not find a published transformers version which fits language-modeling example. | {
"login": "WangZhuoxian",
"id": 38306672,
"node_id": "MDQ6VXNlcjM4MzA2Njcy",
"avatar_url": "https://avatars.githubusercontent.com/u/38306672?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/WangZhuoxian",
"html_url": "https://github.com/WangZhuoxian",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"You can take the examples for v4.27 [here](https://github.com/huggingface/transformers/tree/v4.27.0/examples). The example on the main branch are compatible with the main branch of Transformers, so you need a source install.",
"> You can take the examples for v4.27 [here](https://github.com/huggingface/transform... | 1,680 | 1,683 | 1,683 | NONE | null | This [language-modeling example](https://github.com/huggingface/transformers/tree/main/examples/pytorch/language-modeling) example helps me a lot. However, the newest version so far is 4.27.4, which does not match the minimal version requirement. Looking forward to the newer version to be published. Thanks! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22462/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22462/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22461 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22461/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22461/comments | https://api.github.com/repos/huggingface/transformers/issues/22461/events | https://github.com/huggingface/transformers/issues/22461 | 1,646,842,083 | I_kwDOCUB6oc5iKNDj | 22,461 | [Bug] KeyError: 'nllb-moe' when trying to load `nllb-moe-54b` model | {
"login": "NanoCode012",
"id": 9899957,
"node_id": "MDQ6VXNlcjk4OTk5NTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/9899957?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NanoCode012",
"html_url": "https://github.com/NanoCode012",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"That's completely right! The `config.model_type` should be `nllb-moe` instead of `nllb_moe`. Will modify this in the checkpoints and in the code. Thanks for reporting! ",
"@ArthurZucker , hello!\r\n\r\nI noticed that and have also attempted that, but I got the same error weirdly. I will try it again later.\r\n\r... | 1,680 | 1,681 | 1,680 | NONE | null | ### System Info
- `transformers` version: 4.28.0.dev0
- Platform: Linux-5.4.0-74-generic-x86_64-with-glibc2.10
- Python version: 3.8.8
- Huggingface_hub version: 0.13.3
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22461/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22461/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22460 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22460/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22460/comments | https://api.github.com/repos/huggingface/transformers/issues/22460/events | https://github.com/huggingface/transformers/issues/22460 | 1,646,541,421 | I_kwDOCUB6oc5iJDpt | 22,460 | Add the Nucleotide Transformer models | {
"login": "ranzenTom",
"id": 32740767,
"node_id": "MDQ6VXNlcjMyNzQwNzY3",
"avatar_url": "https://avatars.githubusercontent.com/u/32740767?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ranzenTom",
"html_url": "https://github.com/ranzenTom",
"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": ""
}
] | closed | false | null | [] | [
"Question for the huggingface team:\r\n\r\nThe Nucleotide Transformer networks use the ESM-1b architecture and ESM is supported in transformers, however, the ESM implementation relies on PyTorch whereas the Nucleotide Tansformer are implemented in Jax. Would you recommend to port them in PyTorch by following the ES... | 1,680 | 1,682 | 1,682 | NONE | null | ### Model description
The Nucleotide Transformer project is composed of four language models trained through Masked Language Modelling with an architecture similar to the ESM-1b architecture. The models have been developed by InstaDeep in collaboration with Nvidia and TUM. They have been trained on the NVIDIA Cambridg... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22460/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22460/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22459 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22459/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22459/comments | https://api.github.com/repos/huggingface/transformers/issues/22459/events | https://github.com/huggingface/transformers/issues/22459 | 1,646,456,432 | I_kwDOCUB6oc5iIu5w | 22,459 | Pix2StructForConditionalGeneration not exported | {
"login": "mesmerlord",
"id": 76161333,
"node_id": "MDQ6VXNlcjc2MTYxMzMz",
"avatar_url": "https://avatars.githubusercontent.com/u/76161333?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mesmerlord",
"html_url": "https://github.com/mesmerlord",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Yes, Pix2Struct was not in the last release. You need to install `transformers` [from source](https://huggingface.co/docs/transformers/installation#install-from-source) to use it.",
"For anyone else getting `ImportError: cannot import name 'Pix2StructForConditionalGeneration' from 'transformers'`:\r\nThis was ad... | 1,680 | 1,704 | 1,680 | NONE | null | ### System Info
transformers version = 4.27.4
torch = 2.0.0
Getting an import error
ImportError: cannot import name 'Pix2StructForConditionalGeneration' from 'transformers' (D:\code\alpaca\env\lib\site-packages\transformers\__init__.py)
And when I check the package files, I don't see pix2struct in transforme... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22459/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/22459/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22458 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22458/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22458/comments | https://api.github.com/repos/huggingface/transformers/issues/22458/events | https://github.com/huggingface/transformers/pull/22458 | 1,646,443,105 | PR_kwDOCUB6oc5NM0Vs | 22,458 | Rescale image back if it was scaled during PIL conversion | {
"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 | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,680 | 1,680 | COLLABORATOR | null | # What does this PR do?
Resolves an issue that occurs, when a float image, with values between `[0-1]` is passed into an image processor, its inputs are rescaled back between `[0, 255]` to convert to a `PIL.Image.Image` for resizing and isn't rescaled again. This results in inconsistent outputs depending on whether ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22458/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/22458/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22458",
"html_url": "https://github.com/huggingface/transformers/pull/22458",
"diff_url": "https://github.com/huggingface/transformers/pull/22458.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22458.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22457 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22457/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22457/comments | https://api.github.com/repos/huggingface/transformers/issues/22457/events | https://github.com/huggingface/transformers/pull/22457 | 1,646,284,831 | PR_kwDOCUB6oc5NMScP | 22,457 | Update: ignore padding support for TransfoXL training when n_clusters==0 | {
"login": "StefanHeng",
"id": 43276957,
"node_id": "MDQ6VXNlcjQzMjc2OTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/43276957?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/StefanHeng",
"html_url": "https://github.com/StefanHeng",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,680 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
I created a new PR since I couldn't seem to re-open the [original PR](https://github.com/huggingface/transformers/pull/20326).
Requests in the original PR are handled.
---------------------------------------------
This PR solves [an issue](https://github.com/huggingface/transform... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22457/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22457/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22457",
"html_url": "https://github.com/huggingface/transformers/pull/22457",
"diff_url": "https://github.com/huggingface/transformers/pull/22457.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22457.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22456 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22456/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22456/comments | https://api.github.com/repos/huggingface/transformers/issues/22456/events | https://github.com/huggingface/transformers/pull/22456 | 1,646,256,230 | PR_kwDOCUB6oc5NMMS8 | 22,456 | [PLEASE IGNORE][WIP][POC][DO NOT MERGE] Tokenizer guard broken | {
"login": "hvaara",
"id": 1535968,
"node_id": "MDQ6VXNlcjE1MzU5Njg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1535968?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hvaara",
"html_url": "https://github.com/hvaara",
"followers_url": "https://api.github.com/users/hvaara/foll... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"This PR was used for testing purposes and is superseded by #22285."
] | 1,680 | 1,680 | 1,680 | 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/22456/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22456/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22456",
"html_url": "https://github.com/huggingface/transformers/pull/22456",
"diff_url": "https://github.com/huggingface/transformers/pull/22456.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22456.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22455 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22455/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22455/comments | https://api.github.com/repos/huggingface/transformers/issues/22455/events | https://github.com/huggingface/transformers/pull/22455 | 1,646,228,944 | PR_kwDOCUB6oc5NMGcy | 22,455 | Pin ruff | {
"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,680 | 1,680 | 1,680 | COLLABORATOR | null | # What does this PR do?
ruff is fast and is also released on a fast pace 😅
Those releases sometimes break the CI and all existing PRs (which then require a rebase on main) so let's pin it and we will do an upgrade in 6 months or for 2024. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22455/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/22455/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22455",
"html_url": "https://github.com/huggingface/transformers/pull/22455",
"diff_url": "https://github.com/huggingface/transformers/pull/22455.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22455.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22454 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22454/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22454/comments | https://api.github.com/repos/huggingface/transformers/issues/22454/events | https://github.com/huggingface/transformers/pull/22454 | 1,646,226,049 | PR_kwDOCUB6oc5NMF18 | 22,454 | Update release instructions | {
"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,680 | 1,680 | 1,680 | COLLABORATOR | null | # What does this PR do?
This PR updates the release instructions with a few additional lines and fixes the line that never worked. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22454/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22454/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22454",
"html_url": "https://github.com/huggingface/transformers/pull/22454",
"diff_url": "https://github.com/huggingface/transformers/pull/22454.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22454.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22453 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22453/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22453/comments | https://api.github.com/repos/huggingface/transformers/issues/22453/events | https://github.com/huggingface/transformers/pull/22453 | 1,646,225,985 | PR_kwDOCUB6oc5NMF1D | 22,453 | Avoid sgugger become THE bot | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"> 🤖 🤖 🤖 LGTM! 🤖 🤖 🤖\r\n\r\nI am not sure if sgugger will say LGTM 😆 but I am going to merge!",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,680 | 1,680 | COLLABORATOR | null | # What does this PR do?
With more and more such
<img width="380" alt="Screenshot 2023-03-29 192000" src="https://user-images.githubusercontent.com/2521628/228618109-0f4f33d7-db0b-43a5-b425-7dac596448d3.png">
`sgugger` will become a bot one day soon (or at least Google will think `sgugger` is a bot).
Let's save... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22453/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22453/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22453",
"html_url": "https://github.com/huggingface/transformers/pull/22453",
"diff_url": "https://github.com/huggingface/transformers/pull/22453.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22453.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22452 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22452/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22452/comments | https://api.github.com/repos/huggingface/transformers/issues/22452/events | https://github.com/huggingface/transformers/pull/22452 | 1,646,201,890 | PR_kwDOCUB6oc5NMAhg | 22,452 | Update Neptune docs | {
"login": "normandy7",
"id": 7567953,
"node_id": "MDQ6VXNlcjc1Njc5NTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7567953?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/normandy7",
"html_url": "https://github.com/normandy7",
"followers_url": "https://api.github.com/users/no... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22452). All of your documentation changes will be reflected on that endpoint."
] | 1,680 | 1,680 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
Updates the Neptune example docs.
<!--
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 contrib... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22452/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22452/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22452",
"html_url": "https://github.com/huggingface/transformers/pull/22452",
"diff_url": "https://github.com/huggingface/transformers/pull/22452.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22452.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22451 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22451/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22451/comments | https://api.github.com/repos/huggingface/transformers/issues/22451/events | https://github.com/huggingface/transformers/pull/22451 | 1,646,122,293 | PR_kwDOCUB6oc5NLvNX | 22,451 | Revert "Fix --bf16 option support for Neuron after PR #22300" | {
"login": "jeffhataws",
"id": 56947987,
"node_id": "MDQ6VXNlcjU2OTQ3OTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/56947987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeffhataws",
"html_url": "https://github.com/jeffhataws",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,680 | 1,680 | 1,680 | CONTRIBUTOR | null | This reverts commit fd81746dbec5f17c8285a0fdc72ca4b4c025cc33.
# What does this PR do?
This reverts https://github.com/huggingface/transformers/pull/22307 as CPU AMP doesn't cause torch/xla to emit the correctly autocasted XLA HLO, while GPU AMP path correctly emits autocasted XLA HLO. We are left with "RuntimeErr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22451/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22451/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22451",
"html_url": "https://github.com/huggingface/transformers/pull/22451",
"diff_url": "https://github.com/huggingface/transformers/pull/22451.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22451.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22450 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22450/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22450/comments | https://api.github.com/repos/huggingface/transformers/issues/22450/events | https://github.com/huggingface/transformers/issues/22450 | 1,646,107,704 | I_kwDOCUB6oc5iHZw4 | 22,450 | bridgetower model RuntimeError: The size of tensor a (865) must match the size of tensor b (325) at non-singleton dimension 1 | {
"login": "azizcu",
"id": 63375421,
"node_id": "MDQ6VXNlcjYzMzc1NDIx",
"avatar_url": "https://avatars.githubusercontent.com/u/63375421?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/azizcu",
"html_url": "https://github.com/azizcu",
"followers_url": "https://api.github.com/users/azizcu/fo... | [] | 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,680 | 1,683 | 1,683 | NONE | null | [/usr/local/lib/python3.9/dist-packages/transformers/models/bridgetower/modeling_bridgetower.py](https://localhost:8080/#) in forward(self, pixel_values)
296 class_embeds = self.class_embedding.expand(batch_size, 1, -1)
297 embeddings = torch.cat([class_embeds, patch_embeds], dim=1)
--> 298 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22450/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22450/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22449 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22449/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22449/comments | https://api.github.com/repos/huggingface/transformers/issues/22449/events | https://github.com/huggingface/transformers/pull/22449 | 1,646,096,249 | PR_kwDOCUB6oc5NLpfF | 22,449 | Generate: basic token streaming | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger revised with the simpler implementation (no context manager nor multiprocessing) 🤗 ",
"Just a FYI: I have been doing this using `transformers.StoppingCriteria` to create a callback:\r\n\r\n```python\r\nclass Stream(transf... | 1,680 | 1,680 | 1,680 | MEMBER | null | # What does this PR do?
Adds token streaming to `.generate()` 🎉
### Why now?
I want to showcase and communicate how much faster assisted generation can be... and for that, I need token streaming :D Non-image/video results have a much lower impact.
### What's being added
This PR adds a `streamer` input to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22449/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/22449/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22449",
"html_url": "https://github.com/huggingface/transformers/pull/22449",
"diff_url": "https://github.com/huggingface/transformers/pull/22449.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22449.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22448 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22448/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22448/comments | https://api.github.com/repos/huggingface/transformers/issues/22448/events | https://github.com/huggingface/transformers/pull/22448 | 1,646,054,206 | PR_kwDOCUB6oc5NLgVL | 22,448 | [`Pix2Struct`] Fix slow test | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [] | 1,680 | 1,680 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
Fixes: https://github.com/huggingface/transformers/actions/runs/4538560416/jobs/7997667941
This test was currently failing due to the fact that I forgot to add `.to(torch_device)` on a slow test
cc @sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22448/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22448/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22448",
"html_url": "https://github.com/huggingface/transformers/pull/22448",
"diff_url": "https://github.com/huggingface/transformers/pull/22448.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22448.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22447 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22447/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22447/comments | https://api.github.com/repos/huggingface/transformers/issues/22447/events | https://github.com/huggingface/transformers/pull/22447 | 1,646,005,542 | PR_kwDOCUB6oc5NLVpZ | 22,447 | added biogpt token classifier | {
"login": "upjabir",
"id": 40956091,
"node_id": "MDQ6VXNlcjQwOTU2MDkx",
"avatar_url": "https://avatars.githubusercontent.com/u/40956091?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/upjabir",
"html_url": "https://github.com/upjabir",
"followers_url": "https://api.github.com/users/upjabi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@ArthurZucker am attaching the error from circleci in here. Please do a check on it.\r\n```python\r\n python setup.py egg_info did not run successfully.\r\n │ exit code: 1\r\n ╰─> [7 lines of output]\r\n fatal: not a git repos... | 1,680 | 1,680 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
Added Token Classifier for BioGpt
Fixes #21786
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22447/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22447/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22447",
"html_url": "https://github.com/huggingface/transformers/pull/22447",
"diff_url": "https://github.com/huggingface/transformers/pull/22447.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22447.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22446 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22446/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22446/comments | https://api.github.com/repos/huggingface/transformers/issues/22446/events | https://github.com/huggingface/transformers/issues/22446 | 1,645,990,640 | I_kwDOCUB6oc5iG9Lw | 22,446 | TypeError: __init__() got an unexpected keyword argument 'forward_prefetch' | {
"login": "Hiusam",
"id": 43744525,
"node_id": "MDQ6VXNlcjQzNzQ0NTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/43744525?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Hiusam",
"html_url": "https://github.com/Hiusam",
"followers_url": "https://api.github.com/users/Hiusam/fo... | [] | closed | false | null | [] | [
"FSDP support in Transformers requires PyTorch 1.12, so no. You should have hit [this error](https://github.com/huggingface/transformers/blob/55dae94c0ccd088003aa46bcecb2e55321a7f00b/src/transformers/trainer.py#L429) before anything else, not sure why you did not.",
"Hi, thanks for your reply. This is not an issu... | 1,680 | 1,680 | 1,680 | NONE | null | ### System Info
- `transformers` version: 4.28.0.dev0
- Platform: Linux-5.15.0-67-generic-x86_64-with-glibc2.17
- Python version: 3.8.16
- Huggingface_hub version: 0.13.1
- Safetensors version: not installed
- PyTorch version (GPU?): 1.12.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22446/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22446/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22445 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22445/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22445/comments | https://api.github.com/repos/huggingface/transformers/issues/22445/events | https://github.com/huggingface/transformers/pull/22445 | 1,645,983,808 | PR_kwDOCUB6oc5NLQ4V | 22,445 | Add PVT(Pyramid Vision Transformer) | {
"login": "Xrenya",
"id": 51479797,
"node_id": "MDQ6VXNlcjUxNDc5Nzk3",
"avatar_url": "https://avatars.githubusercontent.com/u/51479797?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Xrenya",
"html_url": "https://github.com/Xrenya",
"followers_url": "https://api.github.com/users/Xrenya/fo... | [] | closed | false | null | [] | [
"Hi @Xrenya - thanks for opening this PR.\r\n\r\nIt seems there is an issue with your CircleCI permissions as the tests won’t run.\r\nCould you try refreshing your permissions as shown [here](https://support.circleci.com/hc/en-us/articles/360048210711-How-to-Refresh-User-Permissions-)?\r\n\r\nExcited to see this mo... | 1,680 | 1,688 | 1,688 | CONTRIBUTOR | null | # Add PVT(Pyramid Vision Transformer)
Partially fixes: [issue](https://github.com/huggingface/transformers/issues/17596)
Currently, the classification model is added, later it should be extended with Detection and Segmentation models.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22445/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22445/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22445",
"html_url": "https://github.com/huggingface/transformers/pull/22445",
"diff_url": "https://github.com/huggingface/transformers/pull/22445.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22445.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22444 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22444/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22444/comments | https://api.github.com/repos/huggingface/transformers/issues/22444/events | https://github.com/huggingface/transformers/pull/22444 | 1,645,971,795 | PR_kwDOCUB6oc5NLONN | 22,444 | Revert "Error (also in original) model, scaling only q matrix not qk.T dot product (qk.T/sqrt(dim_per_head))" | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22444). All of your documentation changes will be reflected on that endpoint."
] | 1,680 | 1,680 | 1,680 | COLLABORATOR | null | Reverts huggingface/transformers#21627
This PR changed the modeling code and as a result broke training as reported in #22426
Moreover, since the "error" was in the original code from the authors, it's not an error anymore but a feature.
This will be put in the patch v4.27.4 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22444/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22444/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22444",
"html_url": "https://github.com/huggingface/transformers/pull/22444",
"diff_url": "https://github.com/huggingface/transformers/pull/22444.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22444.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22443 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22443/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22443/comments | https://api.github.com/repos/huggingface/transformers/issues/22443/events | https://github.com/huggingface/transformers/issues/22443 | 1,645,870,363 | I_kwDOCUB6oc5iGf0b | 22,443 | Logger message during training | {
"login": "huangxt39",
"id": 55071802,
"node_id": "MDQ6VXNlcjU1MDcxODAy",
"avatar_url": "https://avatars.githubusercontent.com/u/55071802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/huangxt39",
"html_url": "https://github.com/huangxt39",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"It works, it just now respects your default logging level (which is probably warning). You will need to set it to info (see any example) to get those logs again :-)",
"Hi,\r\n\r\nthanks for the quick reply. I've tried with this before\r\n\r\n`import logging`\r\n`logging.basicConfig(level=logging.INFO)\"`\r\n\r\n... | 1,680 | 1,683 | 1,683 | NONE | null | ### System Info
- Platform: Linux-4.15.0-204-generic-x86_64-with-glibc2.27
- Python version: 3.9.13
- Huggingface_hub version: 0.12.1
- PyTorch version (GPU?): 1.13.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- Jax... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22443/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22443/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22442 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22442/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22442/comments | https://api.github.com/repos/huggingface/transformers/issues/22442/events | https://github.com/huggingface/transformers/issues/22442 | 1,645,794,114 | I_kwDOCUB6oc5iGNNC | 22,442 | Beam search not always better Greedy search | {
"login": "vermouthmjl",
"id": 3142085,
"node_id": "MDQ6VXNlcjMxNDIwODU=",
"avatar_url": "https://avatars.githubusercontent.com/u/3142085?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vermouthmjl",
"html_url": "https://github.com/vermouthmjl",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"Actually, copied to the issues section of the blog."
] | 1,680 | 1,680 | 1,680 | CONTRIBUTOR | null | @patrickvonplaten
I was recently tinkering around the generation strategies for a decoder, and came across this [blog post](https://huggingface.co/blog/how-to-generate) on decoding methods. It was quite useful to clarify how generation works for transformers. Thank you for this excellent work.
I notice that in the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22442/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22442/timeline | not_planned | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22441 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22441/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22441/comments | https://api.github.com/repos/huggingface/transformers/issues/22441/events | https://github.com/huggingface/transformers/issues/22441 | 1,645,727,973 | I_kwDOCUB6oc5iF9Dl | 22,441 | Model parallelize for LlaMA | {
"login": "pengzju",
"id": 63391142,
"node_id": "MDQ6VXNlcjYzMzkxMTQy",
"avatar_url": "https://avatars.githubusercontent.com/u/63391142?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pengzju",
"html_url": "https://github.com/pengzju",
"followers_url": "https://api.github.com/users/pengzj... | [] | closed | false | null | [] | [
"This API is deprecated on existing models and won't be implemented on new ones. Use `from_pretrained(xxx, device_map=\"auto\") to parallelize your model.",
"Hi sgugger, I wonder if `from_pretrained(xxx, device_map=\"auto\")` can be used to train models?",
"Yes it can, as long as it all fits on GPUs (like was ... | 1,680 | 1,701 | 1,683 | NONE | null | The LlaMA model currently does not support model parallel training, when will this feature be added?
'LlamaForCausalLM' object has no attribute 'parallelize' | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22441/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22441/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22440 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22440/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22440/comments | https://api.github.com/repos/huggingface/transformers/issues/22440/events | https://github.com/huggingface/transformers/pull/22440 | 1,645,602,087 | PR_kwDOCUB6oc5NJ99S | 22,440 | Hyperparameter search reporting to W&B | {
"login": "NoB0",
"id": 28621493,
"node_id": "MDQ6VXNlcjI4NjIxNDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/28621493?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NoB0",
"html_url": "https://github.com/NoB0",
"followers_url": "https://api.github.com/users/NoB0/followers"... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,680 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
Fixes #22429
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22440/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22440/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22440",
"html_url": "https://github.com/huggingface/transformers/pull/22440",
"diff_url": "https://github.com/huggingface/transformers/pull/22440.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22440.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22439 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22439/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22439/comments | https://api.github.com/repos/huggingface/transformers/issues/22439/events | https://github.com/huggingface/transformers/pull/22439 | 1,645,578,771 | PR_kwDOCUB6oc5NJ46k | 22,439 | [`bnb`] fix bnb failing test | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,680 | 1,680 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/actions/runs/4538560416/jobs/7997676956
The PR https://github.com/huggingface/transformers/pull/22377 introduced the correct way to compute the device_map for int8 models to avoid issues in some corner cases.
The `max_memory` argument w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22439/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22439/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22439",
"html_url": "https://github.com/huggingface/transformers/pull/22439",
"diff_url": "https://github.com/huggingface/transformers/pull/22439.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22439.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22438 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22438/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22438/comments | https://api.github.com/repos/huggingface/transformers/issues/22438/events | https://github.com/huggingface/transformers/issues/22438 | 1,645,507,781 | I_kwDOCUB6oc5iFHTF | 22,438 | Got an error `/data/llama/7B/ does not appear to have a file named config.json. Checkout 'https://huggingface.co//data/llama/7B//None' for available files.` when start a supervised instructs fine-tuning | {
"login": "Valdanitooooo",
"id": 26271661,
"node_id": "MDQ6VXNlcjI2MjcxNjYx",
"avatar_url": "https://avatars.githubusercontent.com/u/26271661?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Valdanitooooo",
"html_url": "https://github.com/Valdanitooooo",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Sorry, I sent the wrong repo, please close this issue"
] | 1,680 | 1,680 | 1,680 | NONE | null | I have installed https://github.com/hpcaitech/transformers according to the documentation: https://github.com/hpcaitech/ColossalAI/tree/main/applications/Chat#install-the-transformers
- I got an error when I start a supervised instructs fine-tuning
```
(/code/conda-envs) ubuntu@ip-172-31-15-61:/code/valdanito/Co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22438/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22438/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22437 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22437/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22437/comments | https://api.github.com/repos/huggingface/transformers/issues/22437/events | https://github.com/huggingface/transformers/pull/22437 | 1,645,408,474 | PR_kwDOCUB6oc5NJTfq | 22,437 | Making sure we can use safetensors to serialize all the time. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"This all happens because of the design decision in `safetensors` to error out in case of tied weights. Nothing wrong will happen if users actually save those models and reload them as the weights are re-tied by Transformers. I think ... | 1,680 | 1,681 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
Making sure `save_pretrained(..., safe_serialization=True)` works in all
cases.
It seems `_keys_to_ignore_on_load_missing` was the only one to be set,
and so `save_pretrained` does not properly ignore those keys on saving.
Status before the fix:
```
-- Docs: https://docs.pyt... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22437/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22437/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22437",
"html_url": "https://github.com/huggingface/transformers/pull/22437",
"diff_url": "https://github.com/huggingface/transformers/pull/22437.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22437.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22436 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22436/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22436/comments | https://api.github.com/repos/huggingface/transformers/issues/22436/events | https://github.com/huggingface/transformers/issues/22436 | 1,645,272,356 | I_kwDOCUB6oc5iEN0k | 22,436 | `stopping_criteria` not working with llama | {
"login": "mk-cupist",
"id": 126755214,
"node_id": "U_kgDOB44hjg",
"avatar_url": "https://avatars.githubusercontent.com/u/126755214?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mk-cupist",
"html_url": "https://github.com/mk-cupist",
"followers_url": "https://api.github.com/users/mk-cup... | [] | closed | false | null | [] | [
"cc @gante \r\nNote that this might require #22402 as the Llama tokenizer has a few bugs we are fixing.",
"@mk-cupist 👋 \r\n\r\nLet's see if the PR above fixes it. If it doesn't... we need to find a way to reproduce the issue with publicly available weights, otherwise it will be hell for me to figure out what's ... | 1,680 | 1,686 | 1,686 | NONE | null | ### System Info
I am generating text from llama-13b model. But it continues generating even though it met stopping criteria.
the stopping criteria works fine with other models such as GPT-J 6B.
I loaded llama-13b by
`model = AutoModelForCausalLM.from_pretrained(model_name, device_map='auto', load_in_8bit=True)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22436/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22436/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22435 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22435/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22435/comments | https://api.github.com/repos/huggingface/transformers/issues/22435/events | https://github.com/huggingface/transformers/issues/22435 | 1,645,159,842 | I_kwDOCUB6oc5iDyWi | 22,435 | Question about masking tokens in DataCollatorForPermutationLanguageModeling | {
"login": "WenjieDu",
"id": 17807970,
"node_id": "MDQ6VXNlcjE3ODA3OTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/17807970?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/WenjieDu",
"html_url": "https://github.com/WenjieDu",
"followers_url": "https://api.github.com/users/Wen... | [] | closed | false | null | [] | [] | 1,680 | 1,680 | 1,680 | NONE | null | According to the description from XLNet paper, the permutation LM does not need to corrupt the input in its data processing, and this is different from the Masked LM in BERT. But I found the below code in `DataCollatorForPermutationLanguageModeling` for XLNet replacing the specific tokens in the input data with the giv... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22435/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22435/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22434 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22434/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22434/comments | https://api.github.com/repos/huggingface/transformers/issues/22434/events | https://github.com/huggingface/transformers/issues/22434 | 1,644,862,003 | I_kwDOCUB6oc5iCpoz | 22,434 | Ray[Tune] ValueError: checkpoint not in list (still persists with latest version of transformers) | {
"login": "mvillarreal14",
"id": 8762057,
"node_id": "MDQ6VXNlcjg3NjIwNTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/8762057?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mvillarreal14",
"html_url": "https://github.com/mvillarreal14",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"This is the exact error I get:\r\n\r\nFailure # 1 (occurred at 2023-03-29_00-47-59)\r\n\u001b[36mray::ImplicitFunc.train()\u001b[39m (pid=30599, ip=100.89.2.207, repr=_objective)\r\n File \"/opt/omniai/work/instance1/jupyter/envs/qci/lib/python3.8/site-packages/ray/tune/trainable/trainable.py\", line 368, in trai... | 1,680 | 1,692 | 1,683 | NONE | null | ### System Info
- `transformers` version: 4.27.3
- Platform: Linux-5.10.112-108.499.amzn2.x86_64-x86_64-with-glibc2.17
- Python version: 3.8.11
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.10.1+cu102 (True)
- Tensorflow version (GPU?): 2.9.1 (True)
- Flax version (CPU?/GPU?/TPU?): not installed ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22434/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22434/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22433 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22433/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22433/comments | https://api.github.com/repos/huggingface/transformers/issues/22433/events | https://github.com/huggingface/transformers/issues/22433 | 1,644,579,643 | I_kwDOCUB6oc5iBks7 | 22,433 | Llama-13B gives nonsensical output past 1024 tokens | {
"login": "michaelroyzen",
"id": 45830328,
"node_id": "MDQ6VXNlcjQ1ODMwMzI4",
"avatar_url": "https://avatars.githubusercontent.com/u/45830328?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelroyzen",
"html_url": "https://github.com/michaelroyzen",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"cc @ArthurZucker and @gante ",
"Hey @michaelroyzen 👋 \r\n\r\nDouble-checking -- if you print `model.config.max_sequence_length`, do you get `2048`? If not, overwriting it would be the first thing I'd do.\r\n\r\nSecondly, there is this [ongoing PR](https://github.com/huggingface/transformers/pull/22402) that may... | 1,680 | 1,680 | 1,680 | NONE | null | ### System Info
Latest transformers main branch, Python 3.10
### Who can help?
@sgu
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dataset (give d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22433/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22433/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22432 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22432/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22432/comments | https://api.github.com/repos/huggingface/transformers/issues/22432/events | https://github.com/huggingface/transformers/issues/22432 | 1,644,326,961 | I_kwDOCUB6oc5iAnAx | 22,432 | Official MLflow integration | {
"login": "BenWilson2",
"id": 39283302,
"node_id": "MDQ6VXNlcjM5MjgzMzAy",
"avatar_url": "https://avatars.githubusercontent.com/u/39283302?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BenWilson2",
"html_url": "https://github.com/BenWilson2",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"This sounds very exciting! Happy to have a look at any PR that makes a stronger integration of MLflow!",
"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 f... | 1,680 | 1,683 | 1,683 | NONE | null | ### Feature request
Hi there maintainers, on behalf of the maintainers group for MLflow, we'd like to extend an offer to build out a full integration with MLflow.
We're currently in the process of creating an "official" transformers flavor (a named flavor) that will support serialization and logging of components (m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22432/reactions",
"total_count": 5,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/22432/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22431 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22431/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22431/comments | https://api.github.com/repos/huggingface/transformers/issues/22431/events | https://github.com/huggingface/transformers/issues/22431 | 1,644,254,262 | I_kwDOCUB6oc5iAVQ2 | 22,431 | int8 with device_map doesn't work well in generation | {
"login": "fnshwi",
"id": 128012370,
"node_id": "U_kgDOB6FQUg",
"avatar_url": "https://avatars.githubusercontent.com/u/128012370?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fnshwi",
"html_url": "https://github.com/fnshwi",
"followers_url": "https://api.github.com/users/fnshwi/follower... | [] | closed | false | null | [] | [
"cc @younesbelkada Also if you want your whole model on one GPU, you shouldn't use the `device_map` argument but just place your model on that GPU.",
"@fnshwi you can run the following: \r\n```python\r\nimport torch\r\n\r\n...\r\ndevice_map = {\"\":torch.cuda.current_device()}\r\n```\r\n\r\nand use this device ma... | 1,680 | 1,684 | 1,684 | NONE | null | **Versions**
`transformers==4.26.0`
`accelerate==0.17.1`
I was trying to do inference with the `.generate()` method using a 7B OPT model. When using fp16 in an 8-gpu(80G A100) node, I figure out that fitting each whole model into a GPU with independent process achieves the best speed. But when trying to use int8, ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22431/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22431/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22430 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22430/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22430/comments | https://api.github.com/repos/huggingface/transformers/issues/22430/events | https://github.com/huggingface/transformers/issues/22430 | 1,644,252,179 | I_kwDOCUB6oc5iAUwT | 22,430 | Why ViltProcessor couldn't resize image to 384*384? | {
"login": "Yam0214",
"id": 40912707,
"node_id": "MDQ6VXNlcjQwOTEyNzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/40912707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Yam0214",
"html_url": "https://github.com/Yam0214",
"followers_url": "https://api.github.com/users/Yam021... | [] | closed | false | null | [] | [
"Hi @Yam0214, \r\n\r\nThis is because of the padding step that occurs when processing the image - cf [this line](https://github.com/huggingface/transformers/blob/b29fd6971d9cd6ba2a824628effe243f543b8f61/src/transformers/models/vilt/image_processing_vilt.py#L475). This pads all the images in the batch to the largest... | 1,680 | 1,680 | 1,680 | NONE | null | ### System Info
- `transformers` version: 4.27.1
- Platform: Linux-5.15.0-52-generic-x86_64-with-glibc2.35
- Python version: 3.10.8
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): 2.11.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22430/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22430/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22429 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22429/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22429/comments | https://api.github.com/repos/huggingface/transformers/issues/22429/events | https://github.com/huggingface/transformers/issues/22429 | 1,644,158,978 | I_kwDOCUB6oc5h_-AC | 22,429 | Hyperparameter search cannot report to W&B | {
"login": "NoB0",
"id": 28621493,
"node_id": "MDQ6VXNlcjI4NjIxNDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/28621493?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NoB0",
"html_url": "https://github.com/NoB0",
"followers_url": "https://api.github.com/users/NoB0/followers"... | [] | closed | false | null | [] | [
"Would you like to make a PR with your fix?"
] | 1,680 | 1,680 | 1,680 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.27.3
- Platform: Linux-4.15.0-206-generic-x86_64-with-glibc2.27
- Python version: 3.9.16
- Huggingface_hub version: 0.13.3
- PyTorch version (GPU?): 2.0.0+cu117 (False)
- Tensorflow version (GPU?): 2.11.1 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- J... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22429/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22429/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22428 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22428/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22428/comments | https://api.github.com/repos/huggingface/transformers/issues/22428/events | https://github.com/huggingface/transformers/pull/22428 | 1,643,964,739 | PR_kwDOCUB6oc5NEeHC | 22,428 | Use real tokenizers if tiny version(s) creation has issue(s) | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Since this PR also creats more slow tokenizers (the real one), we get more test failures for some model types. I will have to deal with them (by skipping them first)",
"Ready to be reviewed 🚀 !",
"I'm not sure I fully understand... | 1,680 | 1,680 | 1,680 | COLLABORATOR | null | # What does this PR do?
When creating tiny versions of a model loaded with real checkpoints, we might have some trouble converting the tokenizer(s) to the tiny version. One situation is: **we have a fast tokenizer with its vocabulary shrunk then saved to a local path, but the slow tokenizer loaded from this path hav... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22428/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22428/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22428",
"html_url": "https://github.com/huggingface/transformers/pull/22428",
"diff_url": "https://github.com/huggingface/transformers/pull/22428.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22428.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22427 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22427/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22427/comments | https://api.github.com/repos/huggingface/transformers/issues/22427/events | https://github.com/huggingface/transformers/pull/22427 | 1,643,961,194 | PR_kwDOCUB6oc5NEdUw | 22,427 | Don't hard error when cache version can't be converted to int | {
"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._",
"Is `ValueError` the only kind of error that can be returned when this fails?",
"Yup"
] | 1,680 | 1,680 | 1,680 | COLLABORATOR | null | # What does this PR do?
As reported in #22412 if the string stored in the cache version file is not an int, all import from the Transformers library will fail. This PR adds more safeguards. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22427/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22427/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22427",
"html_url": "https://github.com/huggingface/transformers/pull/22427",
"diff_url": "https://github.com/huggingface/transformers/pull/22427.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22427.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22426 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22426/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22426/comments | https://api.github.com/repos/huggingface/transformers/issues/22426/events | https://github.com/huggingface/transformers/issues/22426 | 1,643,893,581 | I_kwDOCUB6oc5h-9NN | 22,426 | 4.27.1 breaks fp16 training of Flaubert | {
"login": "thomas-schillaci",
"id": 6044285,
"node_id": "MDQ6VXNlcjYwNDQyODU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6044285?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomas-schillaci",
"html_url": "https://github.com/thomas-schillaci",
"followers_url": "https://ap... | [] | closed | false | null | [] | [
"Thanks for reporting and providing a clear reproducer! It let me pinpoint the regression to [this PR](https://github.com/huggingface/transformers/pull/21627). I think we shouldn't have touched that modeling code. Let me just consult internally and I will report back here with the next steps soon!",
"The PR menti... | 1,680 | 1,680 | 1,680 | NONE | null | ### System Info
- `transformers` version: 4.27.1
- Platform: Linux-4.18.0-372.26.1.el8_6.x86_64-x86_64-with-glibc2.28
- Python version: 3.9.16
- Huggingface_hub version: 0.12.1
- PyTorch version (GPU?): 1.12.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22426/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22426/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22425 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22425/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22425/comments | https://api.github.com/repos/huggingface/transformers/issues/22425/events | https://github.com/huggingface/transformers/issues/22425 | 1,643,815,993 | I_kwDOCUB6oc5h-qQ5 | 22,425 | Weights not aligned for pt and jax | {
"login": "crystina-z",
"id": 31640436,
"node_id": "MDQ6VXNlcjMxNjQwNDM2",
"avatar_url": "https://avatars.githubusercontent.com/u/31640436?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/crystina-z",
"html_url": "https://github.com/crystina-z",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey @crystina-z! Thanks for the great code example! I see that you're running the script on TPU, could you try repeating the benchmark using the highest JAX matmul precision (see https://github.com/huggingface/transformers/issues/15754#issuecomment-1048163411 for details)? I think this should close the gap to PyTo... | 1,680 | 1,684 | 1,684 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Linux-5.4.0-1043-gcp-x86_64-with-glibc2.17
- Python version: 3.8.16
- Huggingface_hub version: 0.13.1
- PyTorch version (GPU?): 1.10.1 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): 0.6.6 (tpu)
- Jax version: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22425/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22425/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22424 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22424/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22424/comments | https://api.github.com/repos/huggingface/transformers/issues/22424/events | https://github.com/huggingface/transformers/pull/22424 | 1,643,737,282 | PR_kwDOCUB6oc5NDsgV | 22,424 | [`Generate`] Add conditional generation for multimodal models | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"As this is slightly experimental, I ran blip slow tests that also includes conditional generation tests and they all pass, will merge!",
"Hi @younesbelkada , I get a following error during the training stage when providing decoder_... | 1,680 | 1,689 | 1,680 | CONTRIBUTOR | null | # Motivation
Some multi-modal models (precisely, image to text models) can perform better if conditional text is passed. This simply means that `input_ids` created by `_prepare_decoder_input_ids_for_generation` is concatenated with `input_ids` that is passed along `model_kwargs`.
This PR aims to add the support f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22424/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22424/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22424",
"html_url": "https://github.com/huggingface/transformers/pull/22424",
"diff_url": "https://github.com/huggingface/transformers/pull/22424.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22424.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22423 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22423/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22423/comments | https://api.github.com/repos/huggingface/transformers/issues/22423/events | https://github.com/huggingface/transformers/pull/22423 | 1,643,601,181 | PR_kwDOCUB6oc5NDOul | 22,423 | [`pipeline`] Add conditional text support for `ImageToTextPipeline` | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I have doubts about this:\r\n\r\nMy biggest issue is with the expected I/O.\r\n\r\nPipeline are **defined** by I/O. In the particular case it's (image) -> (text)\r\nAnd here we're modifying to (image, text) -> (text).\r\n\r\nThis is ... | 1,679 | 1,689 | 1,684 | CONTRIBUTOR | null | # What does this PR do?
This PR aims to add conditional generation support for image to text models. Sometimes if you guide the model with a prompt, you can achieve better results.
This PR also adds `pix2struct` on the supported models for ImageToTextPipeline. As most of pix2struct models uses conditional generati... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22423/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22423/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22423",
"html_url": "https://github.com/huggingface/transformers/pull/22423",
"diff_url": "https://github.com/huggingface/transformers/pull/22423.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22423.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22422 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22422/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22422/comments | https://api.github.com/repos/huggingface/transformers/issues/22422/events | https://github.com/huggingface/transformers/pull/22422 | 1,643,552,453 | PR_kwDOCUB6oc5NDEOS | 22,422 | MBart: Fix docs and doctests | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,680 | 1,680 | MEMBER | null | # What does this PR do?
Related issue: #22397
Most fixes are on the TF side. Elaborated a sentence in the main docstring -- MBart can be used for summarization, but none of the pre-trained models were trained for summarization.
Alongside this PR, TF checkpoints for MBart are being pushed to the Hub 🤗 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22422/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22422/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22422",
"html_url": "https://github.com/huggingface/transformers/pull/22422",
"diff_url": "https://github.com/huggingface/transformers/pull/22422.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22422.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22421 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22421/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22421/comments | https://api.github.com/repos/huggingface/transformers/issues/22421/events | https://github.com/huggingface/transformers/issues/22421 | 1,643,527,122 | I_kwDOCUB6oc5h9jvS | 22,421 | transformers is incompatible with Tensorflow nightly build version | {
"login": "WeichenXu123",
"id": 19235986,
"node_id": "MDQ6VXNlcjE5MjM1OTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/19235986?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/WeichenXu123",
"html_url": "https://github.com/WeichenXu123",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"cc @Rocketknight1 and @gante",
"Hey @WeichenXu123 👋 \r\n\r\nI get a slightly different (but related) error when I create the `tf-nightly` environment on my end. They may be changing a few things in the namespace (like they did with `keras.saving` in TF 2.12), so the wise decision here is to wait few days before... | 1,679 | 1,680 | 1,680 | NONE | null | ### System Info
Python version: 3.7
TF branch: dev (installed by `pip install tf-nightly`)
transformers version: 4.27.3
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22421/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22421/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22420 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22420/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22420/comments | https://api.github.com/repos/huggingface/transformers/issues/22420/events | https://github.com/huggingface/transformers/issues/22420 | 1,643,526,257 | I_kwDOCUB6oc5h9jhx | 22,420 | [i18n-<languageCode>] Translating docs to <languageName> | {
"login": "Alainterieur85",
"id": 127302171,
"node_id": "U_kgDOB5Z6Gw",
"avatar_url": "https://avatars.githubusercontent.com/u/127302171?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Alainterieur85",
"html_url": "https://github.com/Alainterieur85",
"followers_url": "https://api.github.c... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [] | 1,679 | 1,680 | 1,680 | 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/22420/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22420/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22419 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22419/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22419/comments | https://api.github.com/repos/huggingface/transformers/issues/22419/events | https://github.com/huggingface/transformers/issues/22419 | 1,643,488,304 | I_kwDOCUB6oc5h9aQw | 22,419 | Problem of training gpt-neox from transformer | {
"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 | [] | [
"Maybe you should try getting help on the [forums](https://discuss.huggingface.co/)? We only use GitHub issues for bugs and feature requests only, and I don't think this is relevant here.",
"@sgugger Unfortunately this forum is not much helpful, you can search with 'gpt-neox' word, and you'd find many questions w... | 1,679 | 1,680 | 1,680 | NONE | null | ### System Info
```
PyTorch
Transformer
2x A100 (40 GB)
```
### Who can help?
_No response_
### Information
- [X] The official example scripts
- [X] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own tas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22419/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22419/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22418 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22418/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22418/comments | https://api.github.com/repos/huggingface/transformers/issues/22418/events | https://github.com/huggingface/transformers/issues/22418 | 1,643,298,137 | I_kwDOCUB6oc5h8r1Z | 22,418 | load_from_checkpoints does not work on fine-tuning Llama 13B | {
"login": "raj-swype",
"id": 106687776,
"node_id": "U_kgDOBlvtIA",
"avatar_url": "https://avatars.githubusercontent.com/u/106687776?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/raj-swype",
"html_url": "https://github.com/raj-swype",
"followers_url": "https://api.github.com/users/raj-sw... | [] | closed | false | null | [] | [
"I'm not too sure how to reconcile the command you typed with the code you wrote, as the code you are showing doesn't accept all the arguments you are passing to the launching command.",
"@raj-swype As a debugging step, do you experience the same issue if you remove the `compute_metrics` argument from the `Traine... | 1,679 | 1,688 | 1,683 | NONE | null | ### System Info
- `transformers` version: 4.28.0.dev0
- Platform: Linux-5.4.0-137-generic-x86_64-with-glibc2.27
- Python version: 3.10.8
- Huggingface_hub version: 0.13.3
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22418/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22418/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22417 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22417/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22417/comments | https://api.github.com/repos/huggingface/transformers/issues/22417/events | https://github.com/huggingface/transformers/pull/22417 | 1,643,293,118 | PR_kwDOCUB6oc5NCMlL | 22,417 | Add important warning padding attention mask | {
"login": "Alainterieur85",
"id": 127302171,
"node_id": "U_kgDOB5Z6Gw",
"avatar_url": "https://avatars.githubusercontent.com/u/127302171?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Alainterieur85",
"html_url": "https://github.com/Alainterieur85",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @gante and @ArthurZucker ",
"Hey @Alainterieur85 👋 This PR has the same purpose as #21916, opened by @anruijian. \r\n\r\n@anruijian, since you've opened yours first, you have the priority here: are you planing to continue the w... | 1,679 | 1,680 | 1,680 | NONE | null | # What does this PR do?
Realase
<!--
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 replac... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22417/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22417/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22417",
"html_url": "https://github.com/huggingface/transformers/pull/22417",
"diff_url": "https://github.com/huggingface/transformers/pull/22417.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22417.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22416 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22416/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22416/comments | https://api.github.com/repos/huggingface/transformers/issues/22416/events | https://github.com/huggingface/transformers/pull/22416 | 1,643,256,497 | PR_kwDOCUB6oc5NCEvD | 22,416 | [Roformer] Fixing a bug in RoFormerEncoder where it was ignoring the length of past_key_values when generating as a decoder | {
"login": "TheWall9",
"id": 20773704,
"node_id": "MDQ6VXNlcjIwNzczNzA0",
"avatar_url": "https://avatars.githubusercontent.com/u/20773704?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TheWall9",
"html_url": "https://github.com/TheWall9",
"followers_url": "https://api.github.com/users/The... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Congrats for this first PR 🔥 And thanks for contributing 🤗 "
] | 1,679 | 1,680 | 1,680 | 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/22416/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22416/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22416",
"html_url": "https://github.com/huggingface/transformers/pull/22416",
"diff_url": "https://github.com/huggingface/transformers/pull/22416.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22416.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22415 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22415/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22415/comments | https://api.github.com/repos/huggingface/transformers/issues/22415/events | https://github.com/huggingface/transformers/pull/22415 | 1,643,196,342 | PR_kwDOCUB6oc5NB3tY | 22,415 | Allowing adding new token as unk token for gpt2 tokenizer | {
"login": "lsy641",
"id": 26696711,
"node_id": "MDQ6VXNlcjI2Njk2NzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/26696711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lsy641",
"html_url": "https://github.com/lsy641",
"followers_url": "https://api.github.com/users/lsy641/fo... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22415). All of your documentation changes will be reflected on that endpoint.",
"I think we should add some tests to clarify what behavior is modified an how.\r\n\r\nIt could be for just those 4 tokenizers, but still I thin... | 1,679 | 1,689 | 1,689 | 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/22415/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22415/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22415",
"html_url": "https://github.com/huggingface/transformers/pull/22415",
"diff_url": "https://github.com/huggingface/transformers/pull/22415.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22415.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22414 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22414/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22414/comments | https://api.github.com/repos/huggingface/transformers/issues/22414/events | https://github.com/huggingface/transformers/issues/22414 | 1,643,117,535 | I_kwDOCUB6oc5h7_vf | 22,414 | Error while loading GPT2 tokenizer with specifying "unk_token" | {
"login": "lsy641",
"id": 26696711,
"node_id": "MDQ6VXNlcjI2Njk2NzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/26696711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lsy641",
"html_url": "https://github.com/lsy641",
"followers_url": "https://api.github.com/users/lsy641/fo... | [] | closed | false | null | [] | [
"Hey! Indeed this is a problem I stumbled on when integrating `Whisper`. \r\nTwo things are at play for me here: \r\n1. We should support re-assignment of the unk token, so yes PR makes sens (and I think it makes sens for all tokenizers).\r\nThe following output is not good:\r\n```python \r\nIn [9]: tokenizer.all_s... | 1,679 | 1,695 | 1,695 | NONE | null | ### System Info
- `transformers` version: 4.28.0.dev0
- Platform: Linux-4.18.0-305.65.1.el8_4.x86_64-x86_64-with-glibc2.17
- Python version: 3.8.16
- Huggingface_hub version: 0.13.3
- PyTorch version (GPU?): 1.11.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not ins... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22414/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22414/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22413 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22413/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22413/comments | https://api.github.com/repos/huggingface/transformers/issues/22413/events | https://github.com/huggingface/transformers/issues/22413 | 1,643,096,216 | I_kwDOCUB6oc5h76iY | 22,413 | Add interpolation of position encodings to BLIP-2 | {
"login": "akkikiki",
"id": 1423362,
"node_id": "MDQ6VXNlcjE0MjMzNjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1423362?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akkikiki",
"html_url": "https://github.com/akkikiki",
"followers_url": "https://api.github.com/users/akkik... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | [
"it is good if the clip-pretrained model has the interpolate_pos_encoding like vit, ",
"@amyeroberts Shall I open a pull request? Have one handy.",
"Hi @akkikiki, thanks for opening this issue! \r\n\r\n`interpolate_pos_encoding` was added to the ViT model the enable cross-loading of DINO weights into the archit... | 1,679 | 1,682 | null | CONTRIBUTOR | null | ### Feature request
ViT implemented in Huggingface Transformers has the feature to enable finetuning with different resolution of images
https://huggingface.co/docs/transformers/model_doc/vit#transformers.ViTModel.forward.interpolate_pos_encoding while the newly implemented BLIP-2 model does not. Would like to add th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22413/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/22413/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22412 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22412/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22412/comments | https://api.github.com/repos/huggingface/transformers/issues/22412/events | https://github.com/huggingface/transformers/issues/22412 | 1,643,072,926 | I_kwDOCUB6oc5h702e | 22,412 | ValueError: invalid literal for int() with base 10: '' | {
"login": "OrigamiDream",
"id": 5837620,
"node_id": "MDQ6VXNlcjU4Mzc2MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/5837620?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/OrigamiDream",
"html_url": "https://github.com/OrigamiDream",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Thanks for reporting! The PR above should fix this.",
"Closing issue since the PR has been merged into main branch :)"
] | 1,679 | 1,680 | 1,680 | NONE | null | ### System Info
- `transformers` version: 4.27.3
- Platform: macOS-13.2.1-x86_64-i386-64bit
- Python version: 3.8.16
- Huggingface_hub version: 0.13.3
- PyTorch version (GPU?): 1.12.1 (False)
- Tensorflow version (GPU?): 2.11.1 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not insta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22412/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22412/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22411 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22411/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22411/comments | https://api.github.com/repos/huggingface/transformers/issues/22411/events | https://github.com/huggingface/transformers/pull/22411 | 1,642,962,912 | PR_kwDOCUB6oc5NBGh2 | 22,411 | Fix bug in perplexity guide calculations and update perplexity numbers. Fixes #22348 | {
"login": "fpgaminer",
"id": 1585817,
"node_id": "MDQ6VXNlcjE1ODU4MTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1585817?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fpgaminer",
"html_url": "https://github.com/fpgaminer",
"followers_url": "https://api.github.com/users/fp... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,680 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
This pull request fixes the bug mentioned in issue #22348 relating to the Perplexity concept guide in the English documentation.
It removes the multiplication by `trg_len` (which was incorrect), and uses `mean` outside the loop instead of sum and division. This both fixes the bug and simp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22411/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22411/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22411",
"html_url": "https://github.com/huggingface/transformers/pull/22411",
"diff_url": "https://github.com/huggingface/transformers/pull/22411.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22411.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22410 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22410/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22410/comments | https://api.github.com/repos/huggingface/transformers/issues/22410/events | https://github.com/huggingface/transformers/pull/22410 | 1,642,918,630 | PR_kwDOCUB6oc5NA8zk | 22,410 | Bump redis from 4.1.4 to 4.5.3 in /examples/research_projects/decision_transformer | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | Bumps [redis](https://github.com/redis/redis-py) from 4.1.4 to 4.5.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/redis/redis-py/releases">redis's releases</a>.</em></p>
<blockquote>
<h2>4.5.3</h2>
<h1>Changes</h1>
<p>Update urgency: HIGH: There is a critical bug that may ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22410/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22410/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22410",
"html_url": "https://github.com/huggingface/transformers/pull/22410",
"diff_url": "https://github.com/huggingface/transformers/pull/22410.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22410.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22409 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22409/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22409/comments | https://api.github.com/repos/huggingface/transformers/issues/22409/events | https://github.com/huggingface/transformers/pull/22409 | 1,642,636,389 | PR_kwDOCUB6oc5M__Ey | 22,409 | Llama: retrocompatibility support for inner layers | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"(It seems like it is no longer needed, closing)",
"@gante hi, i also got the error \"None type is not subscribable \" in apply_rotary_pos_emb. Why is it no longer need? Why not merge it?",
"Hi @Adam1679 -- have you followed the c... | 1,679 | 1,687 | 1,679 | MEMBER | null | # What does this PR do?
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22409/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22409/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22409",
"html_url": "https://github.com/huggingface/transformers/pull/22409",
"diff_url": "https://github.com/huggingface/transformers/pull/22409.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22409.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22408 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22408/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22408/comments | https://api.github.com/repos/huggingface/transformers/issues/22408/events | https://github.com/huggingface/transformers/issues/22408 | 1,642,581,913 | I_kwDOCUB6oc5h58-Z | 22,408 | ray hyperparameter_search - ModuleNotFoundError: No module named 'evaluate_modules' | {
"login": "es94129",
"id": 12763339,
"node_id": "MDQ6VXNlcjEyNzYzMzM5",
"avatar_url": "https://avatars.githubusercontent.com/u/12763339?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/es94129",
"html_url": "https://github.com/es94129",
"followers_url": "https://api.github.com/users/es9412... | [] | closed | false | null | [] | [
"can you try moving ``import evaluate``, ``f1_metric``, and ``compute_metrics`` into ``model_init `` for now?\r\nthis is a workaround that should unblock you.\r\nwe need to fix this import same way as this previous PR: https://github.com/huggingface/transformers/pull/12749",
"This issue has been automatically mar... | 1,679 | 1,683 | 1,683 | NONE | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Linux-5.4.0-1097-aws-x86_64-with-glibc2.35
- Python version: 3.10.6
- Huggingface_hub version: 0.13.3
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): 2.11.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22408/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22408/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22407 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22407/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22407/comments | https://api.github.com/repos/huggingface/transformers/issues/22407/events | https://github.com/huggingface/transformers/issues/22407 | 1,642,523,946 | I_kwDOCUB6oc5h5u0q | 22,407 | modeling_llama - LlamaAttention attempts to subscript `None` position_ids | {
"login": "cheald",
"id": 9830,
"node_id": "MDQ6VXNlcjk4MzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/9830?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cheald",
"html_url": "https://github.com/cheald",
"followers_url": "https://api.github.com/users/cheald/followers",
... | [] | closed | false | null | [] | [
"Sorry, I failed to autocomplete @gante 's handle on the inital ticket. Adding a comment for the tag.",
"Hey @cheald 👋 \r\n\r\nFor context, `position_ids` is required for correct behavior with left-padding, which in turn is needed for batched generation. Having a look at the issue!",
"Yup. I don't have the con... | 1,679 | 1,679 | 1,679 | NONE | null | ### System Info
- `transformers` version: 4.28.0.dev0
- Platform: Linux-5.15.0-67-generic-x86_64-with-glibc2.35
- Python version: 3.10.6
- Huggingface_hub version: 0.13.3
- Safetensors version: 0.3.0
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (C... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22407/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22407/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22406 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22406/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22406/comments | https://api.github.com/repos/huggingface/transformers/issues/22406/events | https://github.com/huggingface/transformers/issues/22406 | 1,642,521,917 | I_kwDOCUB6oc5h5uU9 | 22,406 | [Whisper] Potential inconsistencies across whisper tokenizers (`pad_token_id`) | {
"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 | null | [] | [
"Actually... looking at the vocabularies for each tokenizer:\r\n- [multilingual](https://huggingface.co/openai/whisper-tiny/raw/main/vocab.json)'s token with id 50257 is `<|endoftext|>`, vs `\"\"`, which has id 50256\r\n- [english](https://huggingface.co/openai/whisper-tiny.en/raw/main/vocab.json)'s token with id 5... | 1,679 | 1,680 | 1,679 | CONTRIBUTOR | null | ### System Info
`transformers` version: 4.27.2
- Platform: Windows-10-10.0.19041-SP0
- Python version: 3.8.3
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.13.0+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not ins... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22406/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22406/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22405 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22405/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22405/comments | https://api.github.com/repos/huggingface/transformers/issues/22405/events | https://github.com/huggingface/transformers/issues/22405 | 1,642,454,760 | I_kwDOCUB6oc5h5d7o | 22,405 | model.generate temperature parameter is completely ineffective | {
"login": "AndreaSottana",
"id": 48888970,
"node_id": "MDQ6VXNlcjQ4ODg4OTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/48888970?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AndreaSottana",
"html_url": "https://github.com/AndreaSottana",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hey @AndreaSottana 👋 \r\n\r\nI would recommend reading our [blog post on how to generate](https://huggingface.co/blog/how-to-generate). \r\n\r\nTL;DR -- there are several generation modes, and not all `.generate()` parameters are active for a given generation mode. In particular, the popular `temperature`, `top_p... | 1,679 | 1,688 | 1,680 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Linux-5.15.0-56-generic-x86_64-with-glibc2.31
- Python version: 3.10.4
- Huggingface_hub version: 0.12.1
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22405/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22405/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22404 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22404/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22404/comments | https://api.github.com/repos/huggingface/transformers/issues/22404/events | https://github.com/huggingface/transformers/pull/22404 | 1,642,453,931 | PR_kwDOCUB6oc5M_X2m | 22,404 | Trainer: missing None check | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | MEMBER | null | # What does this PR do?
Adds a missing `None` check. This is causing the example test to fail. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22404/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22404/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22404",
"html_url": "https://github.com/huggingface/transformers/pull/22404",
"diff_url": "https://github.com/huggingface/transformers/pull/22404.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22404.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22403 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22403/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22403/comments | https://api.github.com/repos/huggingface/transformers/issues/22403/events | https://github.com/huggingface/transformers/pull/22403 | 1,642,428,684 | PR_kwDOCUB6oc5M_Sbf | 22,403 | [WIP] Add GeoV model | {
"login": "vpj",
"id": 81152,
"node_id": "MDQ6VXNlcjgxMTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/81152?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vpj",
"html_url": "https://github.com/vpj",
"followers_url": "https://api.github.com/users/vpj/followers",
"following... | [] | closed | false | null | [] | [
"cc @ArthurZucker ",
"[Model weights GeoV/GeoV-9b](https://huggingface.co/GeoV/GeoV-9b)",
"Hey @vpj feel free to ping me for any guidance ! 😉 Also if you need a review tell me",
"Yeah need a review. Im new to huggingface transformers. Just went by the tutorials. Let me know what else needs to be done in orde... | 1,679 | 1,683 | 1,683 | NONE | null | # What does this PR do?
This PR adds the 9B parameter GeoV language model trained by Georges Harik. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22403/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22403/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22403",
"html_url": "https://github.com/huggingface/transformers/pull/22403",
"diff_url": "https://github.com/huggingface/transformers/pull/22403.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22403.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22402 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22402/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22402/comments | https://api.github.com/repos/huggingface/transformers/issues/22402/events | https://github.com/huggingface/transformers/pull/22402 | 1,642,383,292 | PR_kwDOCUB6oc5M_ImN | 22,402 | Fix llama tokenizer | {
"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._",
"cc @Narsil for visibility! ",
"This will need to wait for #22341 ",
"Yes, on it! ",
"Will finish this tomorrow!",
"Hi! Does this PR the decoding part of the tokenizer? Seems like it always prefixes the output with space.\r\n\... | 1,679 | 1,680 | 1,680 | COLLABORATOR | null | # What does this PR do?
Draft but:
- Fixes the conversion script
- update the llama default special tokens
- fixed compatibility issues
- cleanup llama tokeniztion code
- add tests | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22402/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22402/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22402",
"html_url": "https://github.com/huggingface/transformers/pull/22402",
"diff_url": "https://github.com/huggingface/transformers/pull/22402.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22402.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22401 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22401/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22401/comments | https://api.github.com/repos/huggingface/transformers/issues/22401/events | https://github.com/huggingface/transformers/pull/22401 | 1,642,284,841 | PR_kwDOCUB6oc5M-zq8 | 22,401 | Trainer: move Seq2SeqTrainer imports under the typing guard | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,684 | 1,679 | MEMBER | null | # What does this PR do?
(see title) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22401/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22401/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22401",
"html_url": "https://github.com/huggingface/transformers/pull/22401",
"diff_url": "https://github.com/huggingface/transformers/pull/22401.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22401.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22400 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22400/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22400/comments | https://api.github.com/repos/huggingface/transformers/issues/22400/events | https://github.com/huggingface/transformers/pull/22400 | 1,642,273,649 | PR_kwDOCUB6oc5M-xRW | 22,400 | Transformers env safetensors | {
"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,679 | 1,679 | 1,679 | COLLABORATOR | null | # What does this PR do?
Clean version of #22374, GitHub is not allowing force-pushes for some reason (probably linked to the outage of this morning). Sorry to bother you again @amyeroberts ! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22400/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22400/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22400",
"html_url": "https://github.com/huggingface/transformers/pull/22400",
"diff_url": "https://github.com/huggingface/transformers/pull/22400.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22400.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22399 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22399/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22399/comments | https://api.github.com/repos/huggingface/transformers/issues/22399/events | https://github.com/huggingface/transformers/issues/22399 | 1,642,238,887 | I_kwDOCUB6oc5h4pOn | 22,399 | Pytorch 2 compile + fsdp + transformers crash | {
"login": "agemagician",
"id": 6087313,
"node_id": "MDQ6VXNlcjYwODczMTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6087313?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/agemagician",
"html_url": "https://github.com/agemagician",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"I'm not sure PyTorch XLA supports torch.compile + FSDP yet.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https:/... | 1,679 | 1,685 | 1,683 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.28.0.dev0
- Platform: Linux-5.10.147+-x86_64-with-glibc2.31
- Python version: 3.9.16
- Huggingface_hub version: 0.13.3
- PyTorch version (GPU?): 2.0.0+cu117 (False)
- Tensorflow version (GPU?): 2.11.0 (False)
- Flax version (CPU?/GPU?/TPU?): 0.6.7 (cpu)
- Jax version:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22399/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22399/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22398 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22398/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22398/comments | https://api.github.com/repos/huggingface/transformers/issues/22398/events | https://github.com/huggingface/transformers/issues/22398 | 1,642,168,052 | I_kwDOCUB6oc5h4X70 | 22,398 | error with protoBug in v4.27.3 | {
"login": "quertenmont",
"id": 4639944,
"node_id": "MDQ6VXNlcjQ2Mzk5NDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/4639944?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/quertenmont",
"html_url": "https://github.com/quertenmont",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"cc @Narsil and @ArthurZucker ",
"@quertenmont\r\n\r\nCould you share your environment by running `transformers-cli env`?\r\n\r\nWhile @Narsil and @ArthurZucker find the time to check, for a quick fix, probably downgrade `tensorflow` and `protobuf` version. ",
"@sgugger Didn't we upgrade the protobuf generated ... | 1,679 | 1,685 | 1,685 | NONE | null | Hello,
I'be just updated my stack to python 3.11.2 and everything works fine except,
my tensorflow transformer models :-)
I'm using tensorflow-cpu implementation and here is the error I am facing when loading my model.
Any idea of what could be wrong ?
```
File "/usr/local/lib/python3.11/site-packages/t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22398/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/22398/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22397 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22397/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22397/comments | https://api.github.com/repos/huggingface/transformers/issues/22397/events | https://github.com/huggingface/transformers/issues/22397 | 1,642,030,839 | I_kwDOCUB6oc5h32b3 | 22,397 | MBart summarization code example does not work | {
"login": "genert",
"id": 1218788,
"node_id": "MDQ6VXNlcjEyMTg3ODg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1218788?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/genert",
"html_url": "https://github.com/genert",
"followers_url": "https://api.github.com/users/genert/foll... | [] | closed | false | null | [] | [
"CC @patrickvonplaten ",
"cc @gante Could you add a converted TensorFlow checkpoint for this model?",
"@genert two issues here:\r\n1. The documentation is inaccurate -- mbart is a translation model (see [paper](https://arxiv.org/pdf/2001.08210.pdf)), and the model in that example is best used for the pre-traine... | 1,679 | 1,680 | 1,680 | NONE | null | The summarization code example does not work - https://huggingface.co/docs/transformers/main/model_doc/mbart#transformers.TFMBartForConditionalGeneration.call.example
```python
from transformers import AutoTokenizer, TFMBartForConditionalGeneration, MBartConfig
model = TFMBartForConditionalGeneration.from_pretra... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22397/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22397/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22396 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22396/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22396/comments | https://api.github.com/repos/huggingface/transformers/issues/22396/events | https://github.com/huggingface/transformers/pull/22396 | 1,641,878,681 | PR_kwDOCUB6oc5M9ddr | 22,396 | [`bnb`] Force `requires_grad` to be `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... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,679 | 1,679 | 1,679 | CONTRIBUTOR | null | # What does this PR do?
Addresses: https://github.com/huggingface/accelerate/pull/1237#discussion_r1146045485
Some users uses `replace_8bit_linear` as a standalone function, by default the `Linear8bitLinear` layers that are newly created have `requires_grad` set to `True` leading to a bug on `bitsandbytes` librar... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22396/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22396/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22396",
"html_url": "https://github.com/huggingface/transformers/pull/22396",
"diff_url": "https://github.com/huggingface/transformers/pull/22396.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22396.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22395 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22395/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22395/comments | https://api.github.com/repos/huggingface/transformers/issues/22395/events | https://github.com/huggingface/transformers/issues/22395 | 1,641,837,049 | I_kwDOCUB6oc5h3HH5 | 22,395 | Whisper Prompting | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"cc @hollance ",
"Hello, I'd like to pick up this issue!",
"Hey @mollerup23! Super cool! We would first need to update the `generate` modelling code to slide the forced decoder ids as explained in the notebook:\r\nhttps://github.com/huggingface/transformers/blob/d5de578c2227250d615f73a8fb88a5ce7f1743be/src/tran... | 1,679 | 1,701 | 1,684 | CONTRIBUTOR | null | ### Feature request
Add prompting for the Whisper model to control the style/formatting of the generated text.
### Motivation
During training, Whisper can be fed a "previous context window" to condition on longer passages of text.
The original OpenAI Whisper implementation provides the user with the option ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22395/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22395/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.