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/16063 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16063/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16063/comments | https://api.github.com/repos/huggingface/transformers/issues/16063/events | https://github.com/huggingface/transformers/pull/16063 | 1,165,707,553 | PR_kwDOCUB6oc40Q1Sd | 16,063 | FIX: updating doc/example for fine-tune for downstream Token Classification | {
"login": "davidsbatista",
"id": 7937824,
"node_id": "MDQ6VXNlcjc5Mzc4MjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/7937824?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davidsbatista",
"html_url": "https://github.com/davidsbatista",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,646 | 1,646 | 1,646 | CONTRIBUTOR | null | # What does this PR do?
The documentation for fine tuning for downstream tasks, specifically for, Token Classification has an error, in the command AutoModelForTokenClassification command
`model = AutoModelForTokenClassification.from_pretrained(model_checkpoint, num_labels=2)`
it should be instead 14
`mode... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16063/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16063/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16063",
"html_url": "https://github.com/huggingface/transformers/pull/16063",
"diff_url": "https://github.com/huggingface/transformers/pull/16063.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16063.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16062 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16062/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16062/comments | https://api.github.com/repos/huggingface/transformers/issues/16062/events | https://github.com/huggingface/transformers/pull/16062 | 1,165,706,798 | PR_kwDOCUB6oc40Q1IQ | 16,062 | Move QDQBert in just PyTorch block | {
"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,646 | 1,647 | 1,647 | COLLABORATOR | null | # What does this PR do?
This PR moves `QDQBert` in the main init to make it accessible as soon as PyTorch is installed. This is because otherwise, building the documentation requires to have the quantization modules installed, which is not available in Python 3.9 and makes it harder for a contributor to build the do... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16062/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16062/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16062",
"html_url": "https://github.com/huggingface/transformers/pull/16062",
"diff_url": "https://github.com/huggingface/transformers/pull/16062.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16062.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16061 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16061/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16061/comments | https://api.github.com/repos/huggingface/transformers/issues/16061/events | https://github.com/huggingface/transformers/pull/16061 | 1,165,675,336 | PR_kwDOCUB6oc40QufM | 16,061 | Fix a TF test name (LayoutLMModelTest) | {
"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._",
"merge now (think it's not necessary to wait Matt's approval for this tiny and obvious fix :-) )"
] | 1,646 | 1,646 | 1,646 | COLLABORATOR | null | # What does this PR do?
Change `LayoutLMModelTest` to `TFLayoutLMModelTest` in `test_modeling_tf_layoutlm.py`.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16061/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16061/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16061",
"html_url": "https://github.com/huggingface/transformers/pull/16061",
"diff_url": "https://github.com/huggingface/transformers/pull/16061.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16061.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16060 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16060/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16060/comments | https://api.github.com/repos/huggingface/transformers/issues/16060/events | https://github.com/huggingface/transformers/issues/16060 | 1,165,674,664 | I_kwDOCUB6oc5Fesio | 16,060 | Unable to load Wav2Vec2 fine-tuned models from local files | {
"login": "peterwolf-smarsh",
"id": 95297562,
"node_id": "U_kgDOBa4gGg",
"avatar_url": "https://avatars.githubusercontent.com/u/95297562?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/peterwolf-smarsh",
"html_url": "https://github.com/peterwolf-smarsh",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | [
"Hey @peterwolf-smarsh,\r\n\r\nPretrained checkpoints do not contain a tokenizer, therefore you **cannot** load a processor from a pretrained checkpoint. E.g.:\r\n\r\n```python\r\nfrom transformers import Wav2Vec2ForCTC, Wav2Vec2Processor\r\nMODEL_ID = \"./training/checkpoint-90500/\"\r\nprocessor = Wav2Vec2Process... | 1,646 | 1,673 | 1,650 | NONE | null | ## Environment info
- `transformers` version: 4.16.2
- Platform: macOS-10.16-x86_64-i386-64bit
- Python version: 3.9.7
- PyTorch version (GPU?): 1.10.2 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16060/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16060/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16059 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16059/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16059/comments | https://api.github.com/repos/huggingface/transformers/issues/16059/events | https://github.com/huggingface/transformers/issues/16059 | 1,165,611,831 | I_kwDOCUB6oc5FedM3 | 16,059 | Add missing type hints | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
},
{
"id": 4608548278,
"node_id": "LA_kwDO... | closed | false | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [
{
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url"... | [
"I would love to work on PyTorch `Albert`🚀",
"Hi, I would like to work on PyTorch `ImageGPT`",
"Hi, I would like to work on `CamemBERT` for PT & TF.\r\n\r\nI will take a look at `LayoutLMv2` after the first one :smiley: \r\n\r\nEdit: Because CamemBert depends on `Roberta` I will take PyTorch `Roberta` :+1: ",
... | 1,646 | 1,693 | 1,693 | MEMBER | null | ### This issue is part of our **Great Code Cleanup 2022**. If you're interested in helping out, take a look at [this thread](https://twitter.com/carrigmat/status/1502319813510766599), or come [join us on Discord](https://t.co/kS42XBvpWH) and talk with other contributors!
# 🚀 Add missing type hints
Type hints are... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16059/reactions",
"total_count": 7,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 5,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16059/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16058 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16058/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16058/comments | https://api.github.com/repos/huggingface/transformers/issues/16058/events | https://github.com/huggingface/transformers/pull/16058 | 1,165,572,025 | PR_kwDOCUB6oc40QYYK | 16,058 | [WIP] Flax Speech Recognition Seq2Seq | {
"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 | [] | [
"Create a tiny model:\r\n```python\r\nimport jax.numpy as jnp\r\nfrom transformers import AutoFeatureExtractor, AutoTokenizer, FlaxSpeechEncoderDecoderModel\r\n\r\n\r\nencoder_id = \"hf-internal-testing/tiny-random-wav2vec2\"\r\ndecoder_id = \"hf-internal-testing/tiny-random-bart\"\r\n\r\nmodel = FlaxSpeechEncoderD... | 1,646 | 1,651 | 1,651 | CONTRIBUTOR | null | This PR adds the example script `run_flax_speech_recognition_seq2seq.py`, which can be used to fine-tune any [`Speech Sequence-to-Sequence Model`](https://huggingface.co/docs/transformers/master/en/model_doc/auto#transformers.AutoModelForSpeechSeq2Seq) for automatic speech recognition **in Flax** on one of the [officia... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16058/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16058/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16058",
"html_url": "https://github.com/huggingface/transformers/pull/16058",
"diff_url": "https://github.com/huggingface/transformers/pull/16058.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16058.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16057 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16057/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16057/comments | https://api.github.com/repos/huggingface/transformers/issues/16057/events | https://github.com/huggingface/transformers/pull/16057 | 1,165,565,724 | PR_kwDOCUB6oc40QXER | 16,057 | Adding type hints for TFRoBERTa | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,646 | 1,647 | 1,647 | MEMBER | null | As the title suggests, this PR adds type hints to the TFRoBERTa model classes. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16057/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16057/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16057",
"html_url": "https://github.com/huggingface/transformers/pull/16057",
"diff_url": "https://github.com/huggingface/transformers/pull/16057.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16057.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16056 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16056/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16056/comments | https://api.github.com/repos/huggingface/transformers/issues/16056/events | https://github.com/huggingface/transformers/pull/16056 | 1,165,551,104 | PR_kwDOCUB6oc40QT_N | 16,056 | Fix Loading of Flax(Speech)EncoderDecoderModel kwargs from PreTrained Encoder-Decoder Checkpoints | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,646 | 1,647 | 1,647 | CONTRIBUTOR | null | This PR modifies the `from_encoder_decoder_pretrained` class methods in the Flax(Speech)EncoderDecoderModels to correctly instantiate an encoder and a decoder from specified pre-trained model names or paths **given** a set of keyword arguments (kwargs). We should be able to pass encoder/decoder specific kwargs into the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16056/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16056/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16056",
"html_url": "https://github.com/huggingface/transformers/pull/16056",
"diff_url": "https://github.com/huggingface/transformers/pull/16056.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16056.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16055 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16055/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16055/comments | https://api.github.com/repos/huggingface/transformers/issues/16055/events | https://github.com/huggingface/transformers/pull/16055 | 1,165,540,164 | PR_kwDOCUB6oc40QRuB | 16,055 | [Test] different update approach | {
"login": "KSGulin",
"id": 66528950,
"node_id": "MDQ6VXNlcjY2NTI4OTUw",
"avatar_url": "https://avatars.githubusercontent.com/u/66528950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KSGulin",
"html_url": "https://github.com/KSGulin",
"followers_url": "https://api.github.com/users/KSGuli... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16055). All of your documentation changes will be reflected on that endpoint."
] | 1,646 | 1,646 | 1,646 | NONE | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16055/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16055/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16055",
"html_url": "https://github.com/huggingface/transformers/pull/16055",
"diff_url": "https://github.com/huggingface/transformers/pull/16055.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16055.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16054 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16054/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16054/comments | https://api.github.com/repos/huggingface/transformers/issues/16054/events | https://github.com/huggingface/transformers/issues/16054 | 1,165,509,913 | I_kwDOCUB6oc5FeEUZ | 16,054 | `torch.dtype` not JSON serializable if config is nested dict | {
"login": "feifang24",
"id": 44477200,
"node_id": "MDQ6VXNlcjQ0NDc3MjAw",
"avatar_url": "https://avatars.githubusercontent.com/u/44477200?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/feifang24",
"html_url": "https://github.com/feifang24",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Thank you for the report and proposing the fix, which looks great, @feifang24 \r\n\r\nthe next step is to make a PR out of your proposed fix if that works for you.",
"That would be awesome! Thank you @stas00 for getting back to me so quickly 🤩 I will file a PR and tag you as a reviewer.",
"still broken in dif... | 1,646 | 1,669 | 1,647 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.16.2
- Platform: Linux-5.4.0-1066-aws-x86_64-with-debian-buster-sid
- Python version: 3.7.12
- PyTorch ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16054/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16054/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16053 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16053/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16053/comments | https://api.github.com/repos/huggingface/transformers/issues/16053/events | https://github.com/huggingface/transformers/issues/16053 | 1,165,458,047 | I_kwDOCUB6oc5Fd3p_ | 16,053 | bug in model.generate() / beam_search score per token | {
"login": "rbbb",
"id": 5883308,
"node_id": "MDQ6VXNlcjU4ODMzMDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5883308?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rbbb",
"html_url": "https://github.com/rbbb",
"followers_url": "https://api.github.com/users/rbbb/followers",
... | [] | closed | false | null | [] | [
"(this really should be tagged to HF team @patrickvonplaten and I'm not sure if I'm at authority to answer but here's my reply)\r\n\r\nSo I think that the issue you're noticing is coming from the fact that `scores` is saved **before** the actual beam search process at step `k`.\r\n\r\n```\r\nIf say beam 0 has such ... | 1,646 | 1,647 | 1,647 | NONE | null | Tried on transformers 4.16.2, not platform dependent (bug in the algo).
## Copy/paste of an email sent to cwkeam:
I tried to generate some phrases with transformers (BART), and then tried to get the perplexity of each character, and noticed the characters scores were wrong.
If I had to give a half baked patch,... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16053/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16053/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16052 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16052/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16052/comments | https://api.github.com/repos/huggingface/transformers/issues/16052/events | https://github.com/huggingface/transformers/pull/16052 | 1,165,401,385 | PR_kwDOCUB6oc40P1BT | 16,052 | Update ArrowWriter path in examples | {
"login": "mariosasko",
"id": 47462742,
"node_id": "MDQ6VXNlcjQ3NDYyNzQy",
"avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mariosasko",
"html_url": "https://github.com/mariosasko",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Both are research projects that have `dataets` pinned to version 1.0.0 in their requirements, so I think they should be left as is."
] | 1,646 | 1,646 | 1,646 | CONTRIBUTOR | null | `ArrowWriter` is no longer in the top-level namespace in `datasets` v2.0 (see https://github.com/huggingface/datasets/pull/3875#discussion_r822924405), so I'm replacing the`datasets.ArrowWriter` occurances with `datasets.arrow_writer.ArrowWriter`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16052/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16052/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16052",
"html_url": "https://github.com/huggingface/transformers/pull/16052",
"diff_url": "https://github.com/huggingface/transformers/pull/16052.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16052.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16051 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16051/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16051/comments | https://api.github.com/repos/huggingface/transformers/issues/16051/events | https://github.com/huggingface/transformers/issues/16051 | 1,165,375,702 | I_kwDOCUB6oc5FdjjW | 16,051 | TF: clearer model variable naming | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | closed | false | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"My favorite sport is deleting code :mechanical_arm: \r\n\r\nI would be interested in taking `bart` :rocket: ",
"Hi..would love to work on `encoder_decoder`",
"I'd like to work on gpt2!",
"I'll take longformer! ",
"I can take CLIP and OpenAI. ",
"Hi,\nI would like to work on vision_encoder_decoder & disti... | 1,646 | 1,649 | 1,649 | MEMBER | null | ### This issue is part of our **Great Code Cleanup 2022**. If you're interested in helping out, take a look at [this thread](https://twitter.com/carrigmat/status/1502319813510766599), or come [join us on Discord](https://t.co/kS42XBvpWH) and talk with other contributors!
As introduced in https://github.com/huggingfa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16051/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 4,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16051/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16050 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16050/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16050/comments | https://api.github.com/repos/huggingface/transformers/issues/16050/events | https://github.com/huggingface/transformers/issues/16050 | 1,165,355,832 | I_kwDOCUB6oc5Fdes4 | 16,050 | Text Generation Pipeline not using Target Tokenizer | {
"login": "AmitMY",
"id": 5757359,
"node_id": "MDQ6VXNlcjU3NTczNTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5757359?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AmitMY",
"html_url": "https://github.com/AmitMY",
"followers_url": "https://api.github.com/users/AmitMY/foll... | [] | closed | false | null | [] | [
"Not stale - there's a PR\r\nhttps://github.com/huggingface/transformers/pull/16049",
"Gently pinging @Narsil here :-)",
"Thanks for the ping.\r\n\r\nI think we also need @patil-suraj input on this too.\r\n\r\nThe tests do not pass right now. Because `tgt_lang` is not defined by default on the tokenizer `AutoTo... | 1,646 | 1,652 | 1,652 | NONE | null | ## Environment info
- `transformers` version: 4.18.0.dev0
- Platform: Linux-3.10.0-1160.53.1.el7.x86_64-x86_64-with-glibc2.10
- Python version: 3.8.12
- PyTorch version (GPU?): 1.8.1+cu101 (True)
- Tensorflow version (GPU?): 2.8.0 (False)
- Flax version (CPU?/GPU?/TPU?): 0.4.0 (cpu)
- Jax version: 0.3.1
- Jax... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16050/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16050/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16049 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16049/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16049/comments | https://api.github.com/repos/huggingface/transformers/issues/16049/events | https://github.com/huggingface/transformers/pull/16049 | 1,165,341,334 | PR_kwDOCUB6oc40PoNU | 16,049 | Use the target tokenizer in text generation pipeline | {
"login": "AmitMY",
"id": 5757359,
"node_id": "MDQ6VXNlcjU3NTczNTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5757359?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AmitMY",
"html_url": "https://github.com/AmitMY",
"followers_url": "https://api.github.com/users/AmitMY/foll... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16049). All of your documentation changes will be reflected on that endpoint.",
"Hi @AmitMY ,\r\n\r\nThanks for this PR ! It would be nice to get it working with Marian correctly.\r\n\r\nUnfortunately, this approach cannot ... | 1,646 | 1,650 | 1,650 | NONE | null | # What does this PR do?
A subset of https://github.com/huggingface/transformers/pull/15946
This PR addresses the issue with pipelines in decoding text of different target side tokenizer
This is split from the main PR because this affects the huggingface model hub and API, while the other code is applicable to run ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16049/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16049/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16049",
"html_url": "https://github.com/huggingface/transformers/pull/16049",
"diff_url": "https://github.com/huggingface/transformers/pull/16049.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16049.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16048 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16048/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16048/comments | https://api.github.com/repos/huggingface/transformers/issues/16048/events | https://github.com/huggingface/transformers/issues/16048 | 1,165,340,109 | I_kwDOCUB6oc5Fda3N | 16,048 | MarianMTModel is not trained after finished training and loading | {
"login": "marekninja",
"id": 32146793,
"node_id": "MDQ6VXNlcjMyMTQ2Nzkz",
"avatar_url": "https://avatars.githubusercontent.com/u/32146793?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marekninja",
"html_url": "https://github.com/marekninja",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Found out the real issue. I was resetting the model incorrectly... I did reset_parameters on all layers (including positional embeddings), but in combination with static positional embeddings it made the model unusable after loading. My bad."
] | 1,646 | 1,646 | 1,646 | NONE | null | ## Environment info
- `transformers` version: 4.17.0.dev0
- Platform: Linux-5.4.0-92-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- PyTorch version (GPU?): 1.12.0.dev20220208+cu102 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16048/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16048/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16047 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16047/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16047/comments | https://api.github.com/repos/huggingface/transformers/issues/16047/events | https://github.com/huggingface/transformers/pull/16047 | 1,165,330,271 | PR_kwDOCUB6oc40Pl1g | 16,047 | Spanish translation of the file training.mdx | {
"login": "yharyarias",
"id": 36517495,
"node_id": "MDQ6VXNlcjM2NTE3NDk1",
"avatar_url": "https://avatars.githubusercontent.com/u/36517495?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yharyarias",
"html_url": "https://github.com/yharyarias",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger Of course, I will make the changes you indicate, leaving the syntax as per the original documentation. I have a question, I see that most of the conflicts are because of the links, do I leave all the links or remove them? I ... | 1,646 | 1,647 | 1,647 | CONTRIBUTOR | null | I made the translation of the **training.mdx** file in collaboration to the transformers/doc/ documentation, there I created a new folder called source_es where I hosted my training.mdx document translated to Spanish, contributing to the Spanish-speaking community.
[forum](https://github.com/huggingface/transformers/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16047/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16047/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16047",
"html_url": "https://github.com/huggingface/transformers/pull/16047",
"diff_url": "https://github.com/huggingface/transformers/pull/16047.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16047.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16046 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16046/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16046/comments | https://api.github.com/repos/huggingface/transformers/issues/16046/events | https://github.com/huggingface/transformers/pull/16046 | 1,165,228,400 | PR_kwDOCUB6oc40PQB8 | 16,046 | Docker image nightly torch job | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16046). All of your documentation changes will be reflected on that endpoint.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please... | 1,646 | 1,665 | 1,656 | MEMBER | null | Converts the nightly job to use the updated notification service. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16046/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16046/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16046",
"html_url": "https://github.com/huggingface/transformers/pull/16046",
"diff_url": "https://github.com/huggingface/transformers/pull/16046.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16046.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16045 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16045/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16045/comments | https://api.github.com/repos/huggingface/transformers/issues/16045/events | https://github.com/huggingface/transformers/pull/16045 | 1,165,196,064 | PR_kwDOCUB6oc40PI88 | 16,045 | Fix duplicate arguments passed to dummy inputs in ONNX export | {
"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._"
] | 1,646 | 1,646 | 1,646 | MEMBER | null | # What does this PR do?
This PR fixes:
- a bug that was introduced in #15658 where a preprocessor and tokenizer were being passed together to the `generate_dummy_inputs()` function during the ONNX export.
- an oversight in the refactoring of the ONNX config for M2M-100
It also removes problematic TensorFlow ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16045/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16045/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16045",
"html_url": "https://github.com/huggingface/transformers/pull/16045",
"diff_url": "https://github.com/huggingface/transformers/pull/16045.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16045.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16044 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16044/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16044/comments | https://api.github.com/repos/huggingface/transformers/issues/16044/events | https://github.com/huggingface/transformers/pull/16044 | 1,165,112,815 | PR_kwDOCUB6oc40O3Gt | 16,044 | Fix tf pytorch test in auto | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16044). All of your documentation changes will be reflected on that endpoint.",
"> Thanks for looking into this. I would be in favor of trying o return loading_info and test that it is not None maybe\r\n\r\nDo you mean we s... | 1,646 | 1,650 | 1,650 | COLLABORATOR | null | # What does this PR do?
Remove some tests in `tests/auto/test_modeling_tf_pytorch.py`:
- when we load a model using `from_pretrained` from another framework, it returns a single model object instead of a tuple of (model, loading_info) even if we specify `output_loading_info=True`. Some tests expect to have `loa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16044/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16044/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16044",
"html_url": "https://github.com/huggingface/transformers/pull/16044",
"diff_url": "https://github.com/huggingface/transformers/pull/16044.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16044.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16043 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16043/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16043/comments | https://api.github.com/repos/huggingface/transformers/issues/16043/events | https://github.com/huggingface/transformers/pull/16043 | 1,165,101,467 | PR_kwDOCUB6oc40O0qc | 16,043 | DeBERTa/DeBERTa-v2/SEW Support for torch 1.11 | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Addressed your comment @sgugger, could you do a second review? \r\n\r\nAs seen with Sylvain offline, I've moved out the `packaging.version.parse` operation of the methods, as otherwise they would be called inside the methods themselv... | 1,646 | 1,648 | 1,646 | MEMBER | null | The internal `torch` method `_softmax_backward_data` changed API between 1.10 and 1.11, from requiring a tensor as its last output to requiring a size.
This PR updates the concerned models so that they are correctly supported.
Torch 1.11: https://github.com/pytorch/pytorch/blame/e47a5a64bbf4d388b70397e3237f9d5710... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16043/reactions",
"total_count": 3,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16043/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16043",
"html_url": "https://github.com/huggingface/transformers/pull/16043",
"diff_url": "https://github.com/huggingface/transformers/pull/16043.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16043.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16042 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16042/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16042/comments | https://api.github.com/repos/huggingface/transformers/issues/16042/events | https://github.com/huggingface/transformers/pull/16042 | 1,165,069,820 | PR_kwDOCUB6oc40Ot4D | 16,042 | [README] fix url for Preprocessing tutorial | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,646 | 1,646 | 1,646 | MEMBER | null | # What does this PR do?
Fix url for Preprocessing tutorial | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16042/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16042/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16042",
"html_url": "https://github.com/huggingface/transformers/pull/16042",
"diff_url": "https://github.com/huggingface/transformers/pull/16042.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16042.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16041 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16041/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16041/comments | https://api.github.com/repos/huggingface/transformers/issues/16041/events | https://github.com/huggingface/transformers/pull/16041 | 1,165,042,728 | PR_kwDOCUB6oc40OoHS | 16,041 | Fix Bug in Flax-Speech-Encoder-Decoder Test | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,646 | 1,646 | 1,646 | CONTRIBUTOR | null | This PR fixes a bug in a Flax-Speech-Encoder-Decoder test that was failing after push (https://github.com/huggingface/transformers/runs/5493110105?check_suite_focus=true). Specifically, it amends the `test_freeze_feature_encoder` test to **omit** the random `decoder_attention_mask` from the input arguments of the speec... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16041/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16041/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16041",
"html_url": "https://github.com/huggingface/transformers/pull/16041",
"diff_url": "https://github.com/huggingface/transformers/pull/16041.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16041.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16040 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16040/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16040/comments | https://api.github.com/repos/huggingface/transformers/issues/16040/events | https://github.com/huggingface/transformers/issues/16040 | 1,165,039,595 | I_kwDOCUB6oc5FcRfr | 16,040 | Use decoder_inputs in generate function | {
"login": "JoaoLages",
"id": 17574157,
"node_id": "MDQ6VXNlcjE3NTc0MTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/17574157?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JoaoLages",
"html_url": "https://github.com/JoaoLages",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"it's possible to pass `decoder_input_ids` to `generate`, it takes it as a keyword argument.\r\n\r\n```python\r\nmodel.generate(..., decoder_input_ids=decoder_input_ids)\r\n```",
"> it's possible to pass `decoder_input_ids` to `generate`, it takes it as a keyword argument.\r\n> \r\n> ```python\r\n> model.generat... | 1,646 | 1,649 | 1,649 | CONTRIBUTOR | null | # 🚀 Feature request
Use the generate function with some initial decoder inputs.
## Motivation
Imagining I have a trained encoder-decoder transformer and want to generate some output for a given input, but I also have part of the output completed. How do I pass decoder_inputs to the generate method for the model t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16040/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16040/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16039 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16039/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16039/comments | https://api.github.com/repos/huggingface/transformers/issues/16039/events | https://github.com/huggingface/transformers/issues/16039 | 1,164,896,557 | I_kwDOCUB6oc5Fbukt | 16,039 | How to add uppercase letter in chinese-roberta-wwm-ext-large vocab? | {
"login": "scaler2017",
"id": 26086940,
"node_id": "MDQ6VXNlcjI2MDg2OTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/26086940?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/scaler2017",
"html_url": "https://github.com/scaler2017",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @scaler2017 👋 We try to reserve GitHub issues for bugs and unexpected code behavior. For further other questions, please use our forum here: https://discuss.huggingface.co/ :)",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be add... | 1,646 | 1,650 | 1,650 | NONE | null | I found chinese-roberta-wwm-ext-large vocab without uppercase letter
?How to add uppercase letter in vocab?
chinese-roberta-wwm-ext-large: https://huggingface.co/hfl/chinese-roberta-wwm-ext-large/tree/main
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16039/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16039/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16038 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16038/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16038/comments | https://api.github.com/repos/huggingface/transformers/issues/16038/events | https://github.com/huggingface/transformers/issues/16038 | 1,164,882,735 | I_kwDOCUB6oc5FbrMv | 16,038 | what us the difference between Trainer and Seq2SeqTrainer ? | {
"login": "Darshan2104",
"id": 61326242,
"node_id": "MDQ6VXNlcjYxMzI2MjQy",
"avatar_url": "https://avatars.githubusercontent.com/u/61326242?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Darshan2104",
"html_url": "https://github.com/Darshan2104",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"I advise you to use Google, it's pretty great. \r\n<img width=\"892\" alt=\"Screenshot 2022-03-10 at 09 41 21\" src=\"https://user-images.githubusercontent.com/48327001/157622136-0a1d5ced-20dd-4d41-bbad-a1d0088f02f3.png\">\r\n\r\n\r\n=> answer explained here: https://discuss.huggingface.co/t/trainer-vs-seq2seqtrai... | 1,646 | 1,646 | 1,646 | NONE | null | Anybody? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16038/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16038/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16037 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16037/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16037/comments | https://api.github.com/repos/huggingface/transformers/issues/16037/events | https://github.com/huggingface/transformers/issues/16037 | 1,164,760,791 | I_kwDOCUB6oc5FbNbX | 16,037 | The documentation of transformers.generation_utils.GenerationMixin.generate doesn't match the code of it | {
"login": "zhaowei-wang-nlp",
"id": 22047467,
"node_id": "MDQ6VXNlcjIyMDQ3NDY3",
"avatar_url": "https://avatars.githubusercontent.com/u/22047467?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhaowei-wang-nlp",
"html_url": "https://github.com/zhaowei-wang-nlp",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Hi @zhaowei-wang98 ,\r\n\r\nThe documentation is sort of correct I think.\r\n\r\nThe values will be defaulted from the config values of the model, which themselves have a default value which is the one provided in the docs: check here how those variables are initialized https://github.com/huggingface/transformers/... | 1,646 | 1,650 | 1,650 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.17.0
- Platform: Linux
- Python version: 3.8.12
- PyTorch version (GPU?): 1.7.1
- Tensorflow version (GPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16037/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16037/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16036 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16036/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16036/comments | https://api.github.com/repos/huggingface/transformers/issues/16036/events | https://github.com/huggingface/transformers/issues/16036 | 1,164,724,621 | I_kwDOCUB6oc5FbEmN | 16,036 | RuntimeError: [enforce fail at CPUAllocator.cpp:68] Out of memory during batched inference | {
"login": "kaushalshetty",
"id": 6664607,
"node_id": "MDQ6VXNlcjY2NjQ2MDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/6664607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kaushalshetty",
"html_url": "https://github.com/kaushalshetty",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"Have you tried with a smaller amount of tokens to see where it fails?",
"Yes, I ran the \"top\" command in shell and observed that memory almost maxes out to 99% for just 2000. But, I was able to get over the memory issue by detaching the tensor and converting it to cpu() and then numpy() . \r\n```model(tokens[i... | 1,646 | 1,647 | 1,647 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.16.2
- Platform: p3.24xlarge
- Python version: 3.6
- PyTorch version (GPU?): 1.10.0+cu102
- Tensorflow ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16036/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16036/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16035 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16035/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16035/comments | https://api.github.com/repos/huggingface/transformers/issues/16035/events | https://github.com/huggingface/transformers/issues/16035 | 1,164,712,481 | I_kwDOCUB6oc5FbBoh | 16,035 | raise ValueError(f"Unrecognized tokenizer_type {tokenizer_type}") ValueError: Unrecognized tokenizer_type BertWordPieceCase | {
"login": "lucasjinreal",
"id": 21303438,
"node_id": "MDQ6VXNlcjIxMzAzNDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/21303438?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lucasjinreal",
"html_url": "https://github.com/lucasjinreal",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"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,646 | 1,675 | 1,650 | NONE | null | BertWordPieceCase is actually a builtin tokenizer inside magatron. But when I using `convert_megatron_gpt2_checkpoint.py` to convert. I got this error:
```
raise ValueError(f"Unrecognized tokenizer_type {tokenizer_type}")
ValueError: Unrecognized tokenizer_type BertWordPieceCase
```
Just wonder, how to make it... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16035/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16035/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16034 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16034/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16034/comments | https://api.github.com/repos/huggingface/transformers/issues/16034/events | https://github.com/huggingface/transformers/pull/16034 | 1,164,625,674 | PR_kwDOCUB6oc40NQ9Z | 16,034 | Make BigBird model compatiable to fp16 dtype. | {
"login": "xuzhao9",
"id": 502017,
"node_id": "MDQ6VXNlcjUwMjAxNw==",
"avatar_url": "https://avatars.githubusercontent.com/u/502017?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xuzhao9",
"html_url": "https://github.com/xuzhao9",
"followers_url": "https://api.github.com/users/xuzhao9/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Can I get a review, @patrickvonplaten ?",
"Addressed comments and rebased on master branch. Fix CI errors. Pending another review from @patrickvonplaten ",
"Awesome thanks!"
] | 1,646 | 1,648 | 1,648 | CONTRIBUTOR | null | # What does this PR do?
Currently, the BigBird model doesn't support fp16 data type with a `.half()` call.
For example, the following code snippet:
```python
from transformers import *
import torch
if __name__ == "__main__":
device = 'cuda'
config = BigBirdConfig(attention_type="block_sparse",)
mod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16034/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16034/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16034",
"html_url": "https://github.com/huggingface/transformers/pull/16034",
"diff_url": "https://github.com/huggingface/transformers/pull/16034.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16034.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16033 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16033/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16033/comments | https://api.github.com/repos/huggingface/transformers/issues/16033/events | https://github.com/huggingface/transformers/pull/16033 | 1,164,577,820 | PR_kwDOCUB6oc40NHHn | 16,033 | Fix dependency error message in ServeCommand | {
"login": "andstor",
"id": 21249611,
"node_id": "MDQ6VXNlcjIxMjQ5NjEx",
"avatar_url": "https://avatars.githubusercontent.com/u/21249611?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andstor",
"html_url": "https://github.com/andstor",
"followers_url": "https://api.github.com/users/andsto... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,646 | 1,646 | 1,646 | CONTRIBUTOR | null | # What does this PR do?
Fix dependency error message in ServeComman, where "uvicorn" is misspelled as "unicorn".
<!--
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 t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16033/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16033/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16033",
"html_url": "https://github.com/huggingface/transformers/pull/16033",
"diff_url": "https://github.com/huggingface/transformers/pull/16033.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16033.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16032 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16032/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16032/comments | https://api.github.com/repos/huggingface/transformers/issues/16032/events | https://github.com/huggingface/transformers/issues/16032 | 1,164,456,015 | I_kwDOCUB6oc5FaDBP | 16,032 | how can we use the model output to do predict? | {
"login": "lavine-lmu",
"id": 86561756,
"node_id": "MDQ6VXNlcjg2NTYxNzU2",
"avatar_url": "https://avatars.githubusercontent.com/u/86561756?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lavine-lmu",
"html_url": "https://github.com/lavine-lmu",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi\r\n\r\nI've answered this question on our forum here: https://discuss.huggingface.co/t/generate-without-using-the-generate-method/11379?u=nielsr",
"For such questions, please use the forum rather than GitHub issues, which are meant for bugs/feature requests.\r\n\r\nThanks!",
"@NielsRogge Thanks for the repl... | 1,646 | 1,646 | 1,646 | NONE | null | Hi, I am using transformers to do generation now. especially in ```m2m100``` model. We can easily call ```model.generate()``` to generate the sentences, but can not do predict using the model outputs. can anyone help me? @patrickvonplaten @Narsil
For example, in the following code, what should we do after we have ```... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16032/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16032/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16031 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16031/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16031/comments | https://api.github.com/repos/huggingface/transformers/issues/16031/events | https://github.com/huggingface/transformers/pull/16031 | 1,164,430,130 | PR_kwDOCUB6oc40Mn4S | 16,031 | Fix TFDebertaV2ConvLayer in TFDebertaV2Model | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,646 | 1,646 | 1,646 | COLLABORATOR | null | # What does this PR do?
Fix a [CI failure for TFDebertaV2Model](https://github.com/huggingface/transformers/runs/5474315111?check_suite_focus=true), caused by the mistake in `TFDebertaV2ConvLayer`.
## Remark
This test `test_inference_no_head` also fails with the version in #13120. I think this slow test was no... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16031/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16031/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16031",
"html_url": "https://github.com/huggingface/transformers/pull/16031",
"diff_url": "https://github.com/huggingface/transformers/pull/16031.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16031.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16030 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16030/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16030/comments | https://api.github.com/repos/huggingface/transformers/issues/16030/events | https://github.com/huggingface/transformers/pull/16030 | 1,164,398,286 | PR_kwDOCUB6oc40Mhk7 | 16,030 | Framework split | {
"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._",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16030). All of your documentation changes will be reflected on that endpoint."
] | 1,646 | 1,647 | 1,647 | COLLABORATOR | null | # What does this PR do?
This PR prepares the Transformers repo for the new syntax for framework-specific content. It should be merged once https://github.com/huggingface/doc-builder/pull/130 and https://github.com/huggingface/doc-builder/pull/63 are merged.
Note to @stevhliu : This only concerns existing code wit... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16030/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16030/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16030",
"html_url": "https://github.com/huggingface/transformers/pull/16030",
"diff_url": "https://github.com/huggingface/transformers/pull/16030.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16030.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16029 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16029/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16029/comments | https://api.github.com/repos/huggingface/transformers/issues/16029/events | https://github.com/huggingface/transformers/pull/16029 | 1,164,346,177 | PR_kwDOCUB6oc40MXLO | 16,029 | Don't compute metrics in LM examples on TPU | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you for the fix!"
] | 1,646 | 1,646 | 1,646 | COLLABORATOR | null | # What does this PR do?
This PR removes the accuracy computation in the LM examples on TPU, as TPUs can't handle the accumulation of the model logits.
Patches #16005 A better fix would be to be able to gather those logits on TPU but waiting for advice from the pytorch XLA team on this. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16029/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16029/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16029",
"html_url": "https://github.com/huggingface/transformers/pull/16029",
"diff_url": "https://github.com/huggingface/transformers/pull/16029.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16029.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16028 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16028/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16028/comments | https://api.github.com/repos/huggingface/transformers/issues/16028/events | https://github.com/huggingface/transformers/pull/16028 | 1,164,275,644 | PR_kwDOCUB6oc40MIfc | 16,028 | Update to 4.18.0dev0 | {
"login": "KSGulin",
"id": 66528950,
"node_id": "MDQ6VXNlcjY2NTI4OTUw",
"avatar_url": "https://avatars.githubusercontent.com/u/66528950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KSGulin",
"html_url": "https://github.com/KSGulin",
"followers_url": "https://api.github.com/users/KSGuli... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,646 | 1,646 | 1,646 | NONE | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16028/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16028/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16028",
"html_url": "https://github.com/huggingface/transformers/pull/16028",
"diff_url": "https://github.com/huggingface/transformers/pull/16028.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16028.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16027 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16027/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16027/comments | https://api.github.com/repos/huggingface/transformers/issues/16027/events | https://github.com/huggingface/transformers/pull/16027 | 1,164,273,229 | PR_kwDOCUB6oc40MH-3 | 16,027 | Visual Attention Network (VAN) | {
"login": "FrancescoSaverioZuppichini",
"id": 15908060,
"node_id": "MDQ6VXNlcjE1OTA4MDYw",
"avatar_url": "https://avatars.githubusercontent.com/u/15908060?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FrancescoSaverioZuppichini",
"html_url": "https://github.com/FrancescoSaverioZuppichini"... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for the reviews. I've resolved all the comments that can be resolved and asked the authors if we can create an organization for them in the hub."
] | 1,646 | 1,647 | 1,647 | CONTRIBUTOR | null | # What does this PR do?
This PR adds [Visual Attention Network](https://arxiv.org/pdf/2202.09741.pdf).
Currently, the model can be used as follows
```python
import requests
from io import BytesIO
res = requests.get('https://github.com/huggingface/transformers/blob/master/tests/fixtures/tests_samples/COCO/000... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16027/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16027/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16027",
"html_url": "https://github.com/huggingface/transformers/pull/16027",
"diff_url": "https://github.com/huggingface/transformers/pull/16027.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16027.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16026 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16026/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16026/comments | https://api.github.com/repos/huggingface/transformers/issues/16026/events | https://github.com/huggingface/transformers/issues/16026 | 1,164,207,599 | I_kwDOCUB6oc5FZGXv | 16,026 | TypeError: forward() got an unexpected keyword argument 'return_dict' BERT CLASSIFICATION HUGGINFACE with tuning | {
"login": "Ch-rode",
"id": 61243245,
"node_id": "MDQ6VXNlcjYxMjQzMjQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/61243245?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ch-rode",
"html_url": "https://github.com/Ch-rode",
"followers_url": "https://api.github.com/users/Ch-rod... | [] | closed | false | null | [] | [
"@Ch-rode \r\nThere are several issues in your current script, lets try to fix one by one\r\n\r\nFirst the `forward()` function of your model raising this error because it takes only two arguments\r\n```python3\r\ndef forward(self, input_ids, attention_mask)\r\n```\r\nso correct approach would be \r\n```python3\r\n... | 1,646 | 1,650 | 1,650 | NONE | null | I'm stacked with this model, every day errors came to my code! Anyway I'm trying to implement a Bert Classifier to discriminate between 2 sequences classes (BINARY CLASSIFICATION), with AX hyperparameters tuning.
This is all my code implemented anticipated by a sample of my datasets ( I have 3 csv, train-test-val). Th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16026/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16026/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16025 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16025/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16025/comments | https://api.github.com/repos/huggingface/transformers/issues/16025/events | https://github.com/huggingface/transformers/issues/16025 | 1,164,193,080 | I_kwDOCUB6oc5FZC04 | 16,025 | [CI] switching CI to pytorch-1.11 | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"id": 2991663546,
"node_id": "MDU6TGFiZWwyOTkxNjYzNTQ2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Testing",
"name": "Testing",
"color": "19A601",
"default": false,
"description": ""
}
] | closed | false | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [
{
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "htt... | [
"@LysandreJik, `pip install torch-scatter -f https://data.pyg.org/whl/torch-1.11.0+cu113.html` is already avaialble, \r\n\r\n`pip install torch-scatter -f https://data.pyg.org/whl/torch-1.11.0+cu115.html` should be available on Friday.\r\n\r\nSo no show-stoppers to switch to pt-1.11 now as soon as it's released.\r\... | 1,646 | 1,647 | 1,647 | CONTRIBUTOR | null | Heads up: pytorch-1.11 will be released tomorrow
@LysandreJik , I recommend we switch our CI to it once it's released - note that nightly is 1.12-tobe so should remain as it is now.
I have already requested torch-scatter binary wheels for 1.11 which will be needed to switch to : https://github.com/rusty1s/pytorc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16025/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/16025/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16024 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16024/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16024/comments | https://api.github.com/repos/huggingface/transformers/issues/16024/events | https://github.com/huggingface/transformers/pull/16024 | 1,164,187,254 | PR_kwDOCUB6oc40L2HK | 16,024 | Doc builder fix push 2 | {
"login": "mishig25",
"id": 11827707,
"node_id": "MDQ6VXNlcjExODI3NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mishig25",
"html_url": "https://github.com/mishig25",
"followers_url": "https://api.github.com/users/mis... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,646 | 1,665 | 1,646 | CONTRIBUTOR | null | # What does this PR do?
try fix #16020
<!--
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, pl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16024/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16024/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16024",
"html_url": "https://github.com/huggingface/transformers/pull/16024",
"diff_url": "https://github.com/huggingface/transformers/pull/16024.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16024.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16023 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16023/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16023/comments | https://api.github.com/repos/huggingface/transformers/issues/16023/events | https://github.com/huggingface/transformers/pull/16023 | 1,164,182,855 | PR_kwDOCUB6oc40L1NO | 16,023 | Fix warning message in ElectraForCausalLM | {
"login": "pbelevich",
"id": 1160355,
"node_id": "MDQ6VXNlcjExNjAzNTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1160355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pbelevich",
"html_url": "https://github.com/pbelevich",
"followers_url": "https://api.github.com/users/pb... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,646 | 1,646 | 1,646 | 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/16023/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16023/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16023",
"html_url": "https://github.com/huggingface/transformers/pull/16023",
"diff_url": "https://github.com/huggingface/transformers/pull/16023.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16023.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16022 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16022/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16022/comments | https://api.github.com/repos/huggingface/transformers/issues/16022/events | https://github.com/huggingface/transformers/issues/16022 | 1,164,169,187 | I_kwDOCUB6oc5FY8_j | 16,022 | JAX 0.2.22: Replace all deprecated `jax.ops` operations with jnp's `at` | {
"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 | {
"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... | [
{
"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": "ht... | [] | 1,646 | 1,647 | 1,647 | CONTRIBUTOR | null | The `jax.ops.index_update` function used for in-place `jax.ndarray` operations was deprecated in [JAX 0.2.22](https://jax.readthedocs.io/en/latest/changelog.html?highlight=0.2.22#jax-0-2-22-oct-12-2021). It is advised that any in-place array modifications be made with [`jax.numpy.ndarray.at`](https://jax.readthedocs.io... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16022/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16022/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16021 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16021/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16021/comments | https://api.github.com/repos/huggingface/transformers/issues/16021/events | https://github.com/huggingface/transformers/pull/16021 | 1,164,139,767 | PR_kwDOCUB6oc40LsO2 | 16,021 | Fix Bug in Flax Seq2Seq Models | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,646 | 1,646 | 1,646 | CONTRIBUTOR | null | This PR makes two changes to each of `FlaxEncoderDecoderModel` and `FlaxSpeechEncoderDecoderModel`:
1. Amends the input docstrings to remove incorrect information about the model "_shifting tokens right for denoising_". In Flax, `decoder_input_ids` are obtained by shifting the target labels right **outside** of the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16021/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16021/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16021",
"html_url": "https://github.com/huggingface/transformers/pull/16021",
"diff_url": "https://github.com/huggingface/transformers/pull/16021.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16021.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16020 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16020/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16020/comments | https://api.github.com/repos/huggingface/transformers/issues/16020/events | https://github.com/huggingface/transformers/pull/16020 | 1,164,138,920 | PR_kwDOCUB6oc40LsDR | 16,020 | Build the doc in a seperate folder then move it | {
"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 | [] | [] | 1,646 | 1,646 | 1,646 | COLLABORATOR | null | # What does this PR do?
To fix the issue pointed out in #16019 this removes the need for stashing by:
- building the doc in a folder outside any repos
- pull the distant repos once the doc build is finished
- then move other the built doc to those repos and push
TODO: the dev job as well once the main job has ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16020/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16020/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16020",
"html_url": "https://github.com/huggingface/transformers/pull/16020",
"diff_url": "https://github.com/huggingface/transformers/pull/16020.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16020.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16019 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16019/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16019/comments | https://api.github.com/repos/huggingface/transformers/issues/16019/events | https://github.com/huggingface/transformers/pull/16019 | 1,164,092,622 | PR_kwDOCUB6oc40LiWT | 16,019 | Doc build bug? | {
"login": "mishig25",
"id": 11827707,
"node_id": "MDQ6VXNlcjExODI3NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mishig25",
"html_url": "https://github.com/mishig25",
"followers_url": "https://api.github.com/users/mis... | [] | closed | false | null | [] | [
"Removing this line will cause an error each time the doc-build repo has been updated by another commit for another library.",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16019). All of your documentation changes will be reflected on that endpoint.",
"Ugh, it does ... | 1,646 | 1,700 | 1,647 | CONTRIBUTOR | null | # What does this PR do?
If you compare doc-build [transformers](https://github.com/huggingface/doc-build/tree/main/transformers/master/en) vs [datasets](https://github.com/huggingface/doc-build/tree/main/datasets/master/en), you see that transformers master version files are NOT being overwritten. (the should be ove... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16019/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16019/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16019",
"html_url": "https://github.com/huggingface/transformers/pull/16019",
"diff_url": "https://github.com/huggingface/transformers/pull/16019.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16019.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16018 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16018/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16018/comments | https://api.github.com/repos/huggingface/transformers/issues/16018/events | https://github.com/huggingface/transformers/pull/16018 | 1,164,056,756 | PR_kwDOCUB6oc40LanX | 16,018 | Choose framework for ONNX export | {
"login": "michaelbenayoun",
"id": 25418079,
"node_id": "MDQ6VXNlcjI1NDE4MDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/25418079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelbenayoun",
"html_url": "https://github.com/michaelbenayoun",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,646 | 1,647 | 1,647 | MEMBER | null | # What does this PR do?
This allows to choose which framework to use between PyTorch and TensorFlow for the ONNX export.
Fixes #15990
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16018/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/16018/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16018",
"html_url": "https://github.com/huggingface/transformers/pull/16018",
"diff_url": "https://github.com/huggingface/transformers/pull/16018.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16018.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16017 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16017/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16017/comments | https://api.github.com/repos/huggingface/transformers/issues/16017/events | https://github.com/huggingface/transformers/pull/16017 | 1,164,034,429 | PR_kwDOCUB6oc40LVvK | 16,017 | Update build_documentation.yml | {
"login": "mishig25",
"id": 11827707,
"node_id": "MDQ6VXNlcjExODI3NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mishig25",
"html_url": "https://github.com/mishig25",
"followers_url": "https://api.github.com/users/mis... | [] | closed | false | null | [] | [
"I don't see node being installed anywhere else in this file, and it's necessary to build the html files.",
"_The documentation is not available anymore as the PR was closed or merged._",
"oh totally missed that "
] | 1,646 | 1,700 | 1,646 | CONTRIBUTOR | null | Rm unnecessary step?
# 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.
The... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16017/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16017/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16017",
"html_url": "https://github.com/huggingface/transformers/pull/16017",
"diff_url": "https://github.com/huggingface/transformers/pull/16017.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16017.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16016 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16016/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16016/comments | https://api.github.com/repos/huggingface/transformers/issues/16016/events | https://github.com/huggingface/transformers/issues/16016 | 1,164,005,828 | I_kwDOCUB6oc5FYVHE | 16,016 | what's the difference between Megatron-gpt2 and GPT2 inside transformers? | {
"login": "lucasjinreal",
"id": 21303438,
"node_id": "MDQ6VXNlcjIxMzAzNDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/21303438?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lucasjinreal",
"html_url": "https://github.com/lucasjinreal",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi @jinfagang ! For such general questions please use the [forum](https://discuss.huggingface.co/). We use issues for bug reports and feature requests.\r\n\r\nMegatron-gpt2 is the models trained using the megatron library. The arch is similar to the GPT2 arch. You can find more info in the doc https://huggingface... | 1,646 | 1,650 | 1,650 | NONE | null | what's the difference between Megatron-gpt2 and GPT2 inside transformers? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16016/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16016/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16015 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16015/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16015/comments | https://api.github.com/repos/huggingface/transformers/issues/16015/events | https://github.com/huggingface/transformers/pull/16015 | 1,163,968,540 | PR_kwDOCUB6oc40LIG1 | 16,015 | Make transformers.utils.fx. _SUPPORTED_MODELS unique | {
"login": "pbelevich",
"id": 1160355,
"node_id": "MDQ6VXNlcjExNjAzNTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1160355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pbelevich",
"html_url": "https://github.com/pbelevich",
"followers_url": "https://api.github.com/users/pb... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Merging with offline approval from @LysandreJik "
] | 1,646 | 1,647 | 1,647 | CONTRIBUTOR | null | Currently this tuple contains duplicates(e.g. `RobertaForMaskedLM` or `GPT2LMHeadModel`): `AlbertModel, AlbertForPreTraining, AlbertForMaskedLM, AlbertForMultipleChoice, AlbertForQuestionAnswering, AlbertForSequenceClassification, AlbertForTokenClassification, BertModel, BertForPreTraining, BertForNextSentencePredictio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16015/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16015/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16015",
"html_url": "https://github.com/huggingface/transformers/pull/16015",
"diff_url": "https://github.com/huggingface/transformers/pull/16015.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16015.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16014 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16014/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16014/comments | https://api.github.com/repos/huggingface/transformers/issues/16014/events | https://github.com/huggingface/transformers/pull/16014 | 1,163,876,607 | PR_kwDOCUB6oc40K0UP | 16,014 | Swag example: Update doc format | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16014). All of your documentation changes will be reflected on that endpoint."
] | 1,646 | 1,646 | 1,646 | MEMBER | null | # What does this PR do?
Updates the doc format in the swag examples (requested [here](https://github.com/huggingface/transformers/pull/15868#discussion_r816869590)) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16014/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16014/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16014",
"html_url": "https://github.com/huggingface/transformers/pull/16014",
"diff_url": "https://github.com/huggingface/transformers/pull/16014.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16014.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16013 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16013/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16013/comments | https://api.github.com/repos/huggingface/transformers/issues/16013/events | https://github.com/huggingface/transformers/issues/16013 | 1,163,773,081 | I_kwDOCUB6oc5FXcSZ | 16,013 | Learning rate finder for the trainer | {
"login": "franz101",
"id": 18228395,
"node_id": "MDQ6VXNlcjE4MjI4Mzk1",
"avatar_url": "https://avatars.githubusercontent.com/u/18228395?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/franz101",
"html_url": "https://github.com/franz101",
"followers_url": "https://api.github.com/users/fra... | [] | closed | false | null | [] | [
"The LR finder does not give reliable results for Transformers models (usually indicates one in the 1e-3 when the actual best value is in the 1e-5 range). That's why we don't have support for it.",
"@sgugger thanks for the explanation. Any other best practices?"
] | 1,646 | 1,646 | 1,646 | NONE | null | Hi,
is it possible to integrate a learning rate finder with the trainer api?
Something like this:
https://github.com/davidtvs/pytorch-lr-finder
It's probably has been done before, but couldn't find it yet. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16013/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16013/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16012 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16012/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16012/comments | https://api.github.com/repos/huggingface/transformers/issues/16012/events | https://github.com/huggingface/transformers/pull/16012 | 1,163,766,683 | PR_kwDOCUB6oc40KcsE | 16,012 | Fix MaskFormer failing test on master | {
"login": "FrancescoSaverioZuppichini",
"id": 15908060,
"node_id": "MDQ6VXNlcjE1OTA4MDYw",
"avatar_url": "https://avatars.githubusercontent.com/u/15908060?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FrancescoSaverioZuppichini",
"html_url": "https://github.com/FrancescoSaverioZuppichini"... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,646 | 1,646 | 1,646 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes a failing test on master, the fix was easy. In the test I was checking for `transformer_decoder_hidden_states` that only exists when `output_hidden_states == True`, what I needed to check was `transformer_decoder_last_hidden_state`.
I have also made `output_hidden_states` depe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16012/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16012/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16012",
"html_url": "https://github.com/huggingface/transformers/pull/16012",
"diff_url": "https://github.com/huggingface/transformers/pull/16012.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16012.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16011 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16011/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16011/comments | https://api.github.com/repos/huggingface/transformers/issues/16011/events | https://github.com/huggingface/transformers/pull/16011 | 1,163,732,103 | PR_kwDOCUB6oc40KVRN | 16,011 | Removed an outdated check about hdf5_version | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16011). All of your documentation changes will be reflected on that endpoint."
] | 1,646 | 1,646 | 1,646 | COLLABORATOR | null | # What does this PR do?
Remove a check `self.assertTrue(h5py.version.hdf5_version.startswith("1.10"))` which is outdated and makes the CI daily test fail.
@LysandreJik @sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16011/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16011/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16011",
"html_url": "https://github.com/huggingface/transformers/pull/16011",
"diff_url": "https://github.com/huggingface/transformers/pull/16011.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16011.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16010 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16010/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16010/comments | https://api.github.com/repos/huggingface/transformers/issues/16010/events | https://github.com/huggingface/transformers/issues/16010 | 1,163,707,166 | I_kwDOCUB6oc5FXMMe | 16,010 | Beam search uses large amounts of VRAM even with depth of 1 | {
"login": "monsieurpooh",
"id": 29328114,
"node_id": "MDQ6VXNlcjI5MzI4MTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/29328114?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/monsieurpooh",
"html_url": "https://github.com/monsieurpooh",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi @monsieurpooh ,\r\n\r\nI think it's because you're using `num_beams=50` quite simply.\r\nWe don't include optimizations to get only 1 beam when `max_new_token=1` so even though for this specifically we don't need the `50 copies` there are actually created (this actually speeds up later when generating more toke... | 1,646 | 1,665 | 1,650 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.15.0
- Platform: Windows-10-10.0.19041-SP0
- Python version: 3.8.5
- PyTorch version (GPU?): 1.10.2+cu113 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16010/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16010/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16009 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16009/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16009/comments | https://api.github.com/repos/huggingface/transformers/issues/16009/events | https://github.com/huggingface/transformers/pull/16009 | 1,163,686,133 | PR_kwDOCUB6oc40KLhO | 16,009 | Fix github actions comment | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Ready for merge, feel free to check the edited comment above to see how it was impacted by the jobs."
] | 1,646 | 1,646 | 1,646 | MEMBER | null | Fixes the name of the bot that comments. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16009/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16009/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16009",
"html_url": "https://github.com/huggingface/transformers/pull/16009",
"diff_url": "https://github.com/huggingface/transformers/pull/16009.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16009.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16008 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16008/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16008/comments | https://api.github.com/repos/huggingface/transformers/issues/16008/events | https://github.com/huggingface/transformers/issues/16008 | 1,163,683,551 | I_kwDOCUB6oc5FXGbf | 16,008 | resize_token_embeddings() failed with GPT-J, after sync to the latest DeepSpeed 0.6.1 | {
"login": "dunalduck0",
"id": 51274745,
"node_id": "MDQ6VXNlcjUxMjc0NzQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/51274745?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dunalduck0",
"html_url": "https://github.com/dunalduck0",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Thank you for the report, @dunalduck0 and to @jeffra for the PR with the fix."
] | 1,646 | 1,647 | 1,647 | NONE | null | ## Environment info
- DeepSpeed version: 0.6.1+097efeb7
- Transformers version: 4.18.0.dev0
- Platform: Linux-5.4.0-99-generic-x86_64-with-glibc2.17
- Python version: 3.8.10
- Huggingface_hub version: 0.2.1
- PyTorch version (GPU?): 1.10.0+cu113 (True)
- Tensorflow version (GPU?): 2.8.0 (False)
- Flax version (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16008/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16008/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16007 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16007/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16007/comments | https://api.github.com/repos/huggingface/transformers/issues/16007/events | https://github.com/huggingface/transformers/issues/16007 | 1,163,607,341 | I_kwDOCUB6oc5FWz0t | 16,007 | TrOCR Backslash problem | {
"login": "win5923",
"id": 56353753,
"node_id": "MDQ6VXNlcjU2MzUzNzUz",
"avatar_url": "https://avatars.githubusercontent.com/u/56353753?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/win5923",
"html_url": "https://github.com/win5923",
"followers_url": "https://api.github.com/users/win592... | [] | closed | false | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [
{
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https:... | [
"I think that I get the problem's point.\r\nWhy is there no difference between Beam Search and greedy?\r\nDo I need to customize tokenizers?\r\n\r\n but that only shows an example of an encoder-only model. Trying to accomplish this for the specific case of the [Helsinki-NLP/Opus... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16006/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/16006/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16005 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16005/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16005/comments | https://api.github.com/repos/huggingface/transformers/issues/16005/events | https://github.com/huggingface/transformers/issues/16005 | 1,163,472,112 | I_kwDOCUB6oc5FWSzw | 16,005 | `mlm` training fails due to large message size for `nested_gather` on torch_xla | {
"login": "miladm",
"id": 579948,
"node_id": "MDQ6VXNlcjU3OTk0OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/579948?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/miladm",
"html_url": "https://github.com/miladm",
"followers_url": "https://api.github.com/users/miladm/follow... | [] | closed | false | null | [] | [
"cc @sgugger ",
"Thanks for reporting this issue. Could you check if the problem persists when you comment out [this line](https://github.com/huggingface/transformers/blob/c1aaa439350051acdcd585946e91525502a6b063/examples/pytorch/language-modeling/run_mlm.py#L516) and the next (line 517) in the `Trainer` definiti... | 1,646 | 1,678 | 1,650 | NONE | null | The `PyTorch/XLA/TPU` HF tests for `mlm-bert` and `mlm-roberta` fail as discussed below. I have extensively tested this issue on both 2VM and 1VM machines. On both machines, when I set `--num_core 1`, the test passes as expected, and when I set `--num_core 8` I get the error below.
This error suggests the [`mesh_red... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16005/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16005/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16004 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16004/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16004/comments | https://api.github.com/repos/huggingface/transformers/issues/16004/events | https://github.com/huggingface/transformers/pull/16004 | 1,163,443,035 | PR_kwDOCUB6oc40JYax | 16,004 | Fix wav2vec2 export onnx model with attention_mask error | {
"login": "nilboy",
"id": 17962699,
"node_id": "MDQ6VXNlcjE3OTYyNjk5",
"avatar_url": "https://avatars.githubusercontent.com/u/17962699?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nilboy",
"html_url": "https://github.com/nilboy",
"followers_url": "https://api.github.com/users/nilboy/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Looks good to me! cc @lewtun ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that... | 1,646 | 1,654 | 1,654 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes a problem with wav2vec2 when convert to onnx model with attention_mask. see: https://github.com/huggingface/transformers/issues/10004, https://github.com/pytorch/fairseq/issues/3010#issuecomment-999821804
@patrickvonplaten
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16004/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16004/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16004",
"html_url": "https://github.com/huggingface/transformers/pull/16004",
"diff_url": "https://github.com/huggingface/transformers/pull/16004.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16004.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16003 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16003/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16003/comments | https://api.github.com/repos/huggingface/transformers/issues/16003/events | https://github.com/huggingface/transformers/issues/16003 | 1,163,398,754 | I_kwDOCUB6oc5FWA5i | 16,003 | Multiclass image classification with ViT - computer vision | {
"login": "INF800",
"id": 45640029,
"node_id": "MDQ6VXNlcjQ1NjQwMDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/45640029?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/INF800",
"html_url": "https://github.com/INF800",
"followers_url": "https://api.github.com/users/INF800/fo... | [] | closed | false | null | [] | [
"#15978 ",
"And also I would want to know if we can do prediction interpretation by visualizing attention maps or something like that. ",
"@NielsRogge ",
"Hi,\r\n\r\nYou can easily fine-tune ViT (or any other sequence classifier) using the `problem_type` argument.\r\n\r\n```\r\nfrom transformers import ViTFor... | 1,646 | 1,708 | 1,650 | NONE | null | Hi, are there building blocks available in the repo to extend current single class to **multilabel classification**?
It should not be very big of an issue. I guess. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16003/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16003/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16002 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16002/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16002/comments | https://api.github.com/repos/huggingface/transformers/issues/16002/events | https://github.com/huggingface/transformers/issues/16002 | 1,163,383,102 | I_kwDOCUB6oc5FV9E- | 16,002 | Translate to Spanish of training.mdx | {
"login": "yharyarias",
"id": 36517495,
"node_id": "MDQ6VXNlcjM2NTE3NDk1",
"avatar_url": "https://avatars.githubusercontent.com/u/36517495?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yharyarias",
"html_url": "https://github.com/yharyarias",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,646 | 1,646 | 1,646 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16002/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16002/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16001 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16001/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16001/comments | https://api.github.com/repos/huggingface/transformers/issues/16001/events | https://github.com/huggingface/transformers/pull/16001 | 1,163,097,759 | PR_kwDOCUB6oc40IN6L | 16,001 | Update troubleshoot guide | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | [
{
"id": 1834067346,
"node_id": "MDU6TGFiZWwxODM0MDY3MzQ2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation",
"name": "Documentation",
"color": "77cc3b",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Another `resize_token_embeddings()` issue 👉 https://github.com/huggingface/transformers/issues/16008"
] | 1,646 | 1,647 | 1,647 | MEMBER | null | This PR adds more content to the troubleshooting guide. I filtered the repo issues for errors and browsed the most viewed topics on the forums to find some of the most common issues users encounter and how to resolve them. Updates include:
- CUDA out of memory errors
- Unable to load a saved TF model (thanks @gante... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16001/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/16001/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16001",
"html_url": "https://github.com/huggingface/transformers/pull/16001",
"diff_url": "https://github.com/huggingface/transformers/pull/16001.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16001.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16000 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16000/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16000/comments | https://api.github.com/repos/huggingface/transformers/issues/16000/events | https://github.com/huggingface/transformers/pull/16000 | 1,163,091,876 | PR_kwDOCUB6oc40IMqD | 16,000 | removing azureml-specific code - now covered by MLflow | {
"login": "wamartin-aml",
"id": 42586848,
"node_id": "MDQ6VXNlcjQyNTg2ODQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/42586848?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wamartin-aml",
"html_url": "https://github.com/wamartin-aml",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16000). All of your documentation changes will be reflected on that endpoint.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please... | 1,646 | 1,653 | 1,653 | CONTRIBUTOR | null | Signed-off-by: Walter Martin <wamartin@microsoft.com>
# What does this PR do?
This PR removes AzureML code from the repo since AzureML tracking can all be done through MLflow.
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the rel... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16000/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16000/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16000",
"html_url": "https://github.com/huggingface/transformers/pull/16000",
"diff_url": "https://github.com/huggingface/transformers/pull/16000.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16000.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15999 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15999/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15999/comments | https://api.github.com/repos/huggingface/transformers/issues/15999/events | https://github.com/huggingface/transformers/issues/15999 | 1,163,006,704 | I_kwDOCUB6oc5FUhLw | 15,999 | Sharded DDP returns extra predictions EvalPrediction | {
"login": "AADeLucia",
"id": 13154289,
"node_id": "MDQ6VXNlcjEzMTU0Mjg5",
"avatar_url": "https://avatars.githubusercontent.com/u/13154289?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AADeLucia",
"html_url": "https://github.com/AADeLucia",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"There is little we can do to help without knowing the code that is run and having a clear reproducer.",
"Ah sorry for the lack of detail, here is my code. \r\n\r\nhttps://gist.github.com/AADeLucia/86d5d75dde878cfa3dbd38a0230be2cf",
"Oh you're using custom models. Are they all returning loss then logits if labe... | 1,646 | 1,650 | 1,650 | NONE | null | ## Environment info
- `transformers` version: 4.17.0.dev0
- Platform: Linux-5.13.0-28-generic-x86_64-with-glibc2.17
- Python version: 3.8.11
- PyTorch version (GPU?): 1.10.2 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15999/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15999/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15998 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15998/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15998/comments | https://api.github.com/repos/huggingface/transformers/issues/15998/events | https://github.com/huggingface/transformers/pull/15998 | 1,162,986,158 | PR_kwDOCUB6oc40H2Xh | 15,998 | Uncomment to see error | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15998). All of your documentation changes will be reflected on that endpoint.",
"_The documentation is not available anymore as the PR was closed or merged._",
"The docs for this PR live [here](https://moon-ci-docs.huggin... | 1,646 | 1,646 | 1,646 | 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/15998/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15998/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15998",
"html_url": "https://github.com/huggingface/transformers/pull/15998",
"diff_url": "https://github.com/huggingface/transformers/pull/15998.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15998.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15997 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15997/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15997/comments | https://api.github.com/repos/huggingface/transformers/issues/15997/events | https://github.com/huggingface/transformers/pull/15997 | 1,162,931,140 | PR_kwDOCUB6oc40Hq4p | 15,997 | Freeze Feature Encoder in FlaxSpeechEncoderDecoder | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Add one quick test here maybe as well? :-)"
] | 1,646 | 1,646 | 1,646 | CONTRIBUTOR | null | This PR builds on #15873 by enabling the feature encoder of a Flax Wav2Vec2 model to be frozen when used in the FlaxSpeechEncoderDecoder framework. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15997/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15997/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15997",
"html_url": "https://github.com/huggingface/transformers/pull/15997",
"diff_url": "https://github.com/huggingface/transformers/pull/15997.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15997.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15996 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15996/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15996/comments | https://api.github.com/repos/huggingface/transformers/issues/15996/events | https://github.com/huggingface/transformers/pull/15996 | 1,162,892,102 | PR_kwDOCUB6oc40HiwI | 15,996 | Update for doc-builder -> hf-doc-utils | {
"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 | [] | [] | 1,646 | 1,646 | 1,646 | COLLABORATOR | null | # What does this PR do?
This PR deals with the upcoming rename of `doc-builder` to `hf-doc-utils`. Should be merged at the same time as the rename happens. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15996/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15996/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15996",
"html_url": "https://github.com/huggingface/transformers/pull/15996",
"diff_url": "https://github.com/huggingface/transformers/pull/15996.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15996.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15995 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15995/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15995/comments | https://api.github.com/repos/huggingface/transformers/issues/15995/events | https://github.com/huggingface/transformers/pull/15995 | 1,162,883,196 | PR_kwDOCUB6oc40Hg61 | 15,995 | Add FlaxBartForCausalLM | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,646 | 1,646 | 1,646 | CONTRIBUTOR | null | This PR contributes the Flax Bart model for causal language modelling (Causal LM). It adds:
- `FlaxBartPreTrainedDecoderModel`: a subclass of `FlaxPreTrainedModel` designed specifically for leveraging pre-trained Bart decoder checkpoints. This is as opposed to `FlaxBartPreTrainedModel`, which treats pre-trained Bart... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15995/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15995/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15995",
"html_url": "https://github.com/huggingface/transformers/pull/15995",
"diff_url": "https://github.com/huggingface/transformers/pull/15995.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15995.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15994 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15994/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15994/comments | https://api.github.com/repos/huggingface/transformers/issues/15994/events | https://github.com/huggingface/transformers/pull/15994 | 1,162,877,173 | PR_kwDOCUB6oc40Hfq7 | 15,994 | Adding new train_step logic to make things less confusing for users | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"This should now be ready for review! The main changes are:\r\n\r\n1) `model.fit()` with the internal loss is now tested correctly\r\n2) The internal loss will now work no matter where you pass your labels, which should reduce user co... | 1,646 | 1,649 | 1,649 | MEMBER | null | Change to `train_step` I discussed earlier with @gante, making the new TF approaches less confusing for users.
This PR is **extremely** experimental right now, and since it touches `train_step` it could break the entire TF side of the library, so please don't merge it until I'm done! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15994/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15994/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15994",
"html_url": "https://github.com/huggingface/transformers/pull/15994",
"diff_url": "https://github.com/huggingface/transformers/pull/15994.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15994.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15993 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15993/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15993/comments | https://api.github.com/repos/huggingface/transformers/issues/15993/events | https://github.com/huggingface/transformers/issues/15993 | 1,162,866,421 | I_kwDOCUB6oc5FT-71 | 15,993 | Unclear message with `add-new-model-like` and no flax installed | {
"login": "arthurdouillard",
"id": 8938591,
"node_id": "MDQ6VXNlcjg5Mzg1OTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/8938591?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arthurdouillard",
"html_url": "https://github.com/arthurdouillard",
"followers_url": "https://api.g... | [] | closed | false | null | [] | [
"Even if you only want to contribute the model for one framework only, you need to have a `dev` install (like for any PR to Transformers). This is all detailed in the [contributing guide](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-contributing-pull-requests)",
"Noted, thanks."
] | 1,646 | 1,646 | 1,646 | NONE | null | ## Environment info
- `transformers` version: 4.18.0.dev0
- Platform: macos high sierra 10.13.4
- Python version: 3.9
- PyTorch version (GPU?): 1.8.1 CPU
- Using GPU in script?: no
- Using distributed or parallel set-up in script?: no
### Who can help
@sgugger @LysandreJik
## Information
When tryin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15993/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15993/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15992 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15992/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15992/comments | https://api.github.com/repos/huggingface/transformers/issues/15992/events | https://github.com/huggingface/transformers/issues/15992 | 1,162,837,859 | I_kwDOCUB6oc5FT39j | 15,992 | Translation of documentation into Spanish | {
"login": "yharyarias",
"id": 36517495,
"node_id": "MDQ6VXNlcjM2NTE3NDk1",
"avatar_url": "https://avatars.githubusercontent.com/u/36517495?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yharyarias",
"html_url": "https://github.com/yharyarias",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,646 | 1,646 | 1,646 | CONTRIBUTOR | null | I translated "**Fine-tune a pretrained model**" into Spanish to file [training.mdx](https://github.com/huggingface/transformers/blob/master/docs/source/training.mdx) and I'll make a pull request. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15992/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/15992/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15991 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15991/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15991/comments | https://api.github.com/repos/huggingface/transformers/issues/15991/events | https://github.com/huggingface/transformers/pull/15991 | 1,162,756,915 | PR_kwDOCUB6oc40HGMy | 15,991 | Add DPT | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for your reviews, addressed most comments. Main thing to update is:\r\n* rename `out_indices` (which features to use from the backbone)\r\n* rename `in_index` (which features to use in the head)\r\n\r\nIdeally we have names th... | 1,646 | 1,665 | 1,648 | CONTRIBUTOR | null | # What does this PR do?
This PR adds [DPT](https://arxiv.org/abs/2103.13413), Dense Prediction Transformers, to the library. It's some very nice work from Intel Labs that applies Transformers for dense prediction tasks such as semantic segmentation and depth estimation.
Feel free to play around with the notebook ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15991/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15991/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15991",
"html_url": "https://github.com/huggingface/transformers/pull/15991",
"diff_url": "https://github.com/huggingface/transformers/pull/15991.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15991.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15990 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15990/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15990/comments | https://api.github.com/repos/huggingface/transformers/issues/15990/events | https://github.com/huggingface/transformers/issues/15990 | 1,162,740,917 | I_kwDOCUB6oc5FTgS1 | 15,990 | FeaturesManager assumes only one of Torch or TensorFlow is installed | {
"login": "ndronen",
"id": 21194,
"node_id": "MDQ6VXNlcjIxMTk0",
"avatar_url": "https://avatars.githubusercontent.com/u/21194?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ndronen",
"html_url": "https://github.com/ndronen",
"followers_url": "https://api.github.com/users/ndronen/follower... | [] | closed | false | null | [] | [
"Also cc @lewtun ",
"I'm on it!",
"> I'm on it!\r\n\r\nThanks!"
] | 1,646 | 1,647 | 1,647 | NONE | null | ## Environment info
- `transformers` version: 4.12.5
- Platform: macOS-10.16-x86_64-i386-64bit
- Python version: 3.9.10
- PyTorch version (GPU?): 1.10.0 (False)
- Tensorflow version (GPU?): 2.8.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not ins... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15990/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15990/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15989 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15989/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15989/comments | https://api.github.com/repos/huggingface/transformers/issues/15989/events | https://github.com/huggingface/transformers/pull/15989 | 1,162,720,269 | PR_kwDOCUB6oc40G-em | 15,989 | Use tiny models for get_pretrained_model in TFEncoderDecoderModelTest | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,646 | 1,646 | 1,646 | COLLABORATOR | null | # What does this PR do?
Use tiny models for `get_pretrained_model` in `TFEncoderDecoderModelTest`.
This is originally for avoiding **GPU OOM** for `TFRembertEncoderDecoderModelTest` on CI daily testing.
But @patrickvonplaten suggests that we should actually use the small model in the following quote:
_... thi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15989/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15989/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15989",
"html_url": "https://github.com/huggingface/transformers/pull/15989",
"diff_url": "https://github.com/huggingface/transformers/pull/15989.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15989.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15988 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15988/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15988/comments | https://api.github.com/repos/huggingface/transformers/issues/15988/events | https://github.com/huggingface/transformers/pull/15988 | 1,162,676,021 | PR_kwDOCUB6oc40G1G3 | 15,988 | [Docs] Improve PyTorch, Flax generate API | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"No doc-builder triggered here? :cry: ",
"Docs live here: https://moon-ci-docs.huggingface.co/docs/transformers/pr_15988/en/index",
"> Docs live here: https://moon-ci-docs.huggingface.co/docs/transformers/pr_15988/en/index\r\n\r\nThe docs are not updated on the link if the PR is changed (or it takes too long). ... | 1,646 | 1,647 | 1,646 | 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/15988/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15988/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15988",
"html_url": "https://github.com/huggingface/transformers/pull/15988",
"diff_url": "https://github.com/huggingface/transformers/pull/15988.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15988.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15987 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15987/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15987/comments | https://api.github.com/repos/huggingface/transformers/issues/15987/events | https://github.com/huggingface/transformers/pull/15987 | 1,162,651,849 | PR_kwDOCUB6oc40Gv7S | 15,987 | add doctests for bart like seq2seq models | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,646 | 1,648 | 1,646 | MEMBER | null | # What does this PR do?
Enable doctests for bart like seq2seq models. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15987/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15987/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15987",
"html_url": "https://github.com/huggingface/transformers/pull/15987",
"diff_url": "https://github.com/huggingface/transformers/pull/15987.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15987.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15986 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15986/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15986/comments | https://api.github.com/repos/huggingface/transformers/issues/15986/events | https://github.com/huggingface/transformers/pull/15986 | 1,162,650,499 | PR_kwDOCUB6oc40Gvoa | 15,986 | Swin support for any input size | {
"login": "FrancescoSaverioZuppichini",
"id": 15908060,
"node_id": "MDQ6VXNlcjE1OTA4MDYw",
"avatar_url": "https://avatars.githubusercontent.com/u/15908060?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FrancescoSaverioZuppichini",
"html_url": "https://github.com/FrancescoSaverioZuppichini"... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15986). All of your documentation changes will be reflected on that endpoint.",
"Swin now returns a list of reshaped `hidden_states` (B, C, H, W). However, due to the `view` operation, the viewed tensor won't have `.grad` i... | 1,646 | 1,647 | 1,647 | CONTRIBUTOR | null | # What does this PR do?
This PR adds padding to Swin allowing to support any (if divisible by `32`) input size.
Example:
```python
from transformers import SwinConfig, SwinModel
import torch
model = SwinModel(SwinConfig(image_size=384))
x = torch.randn((1, 3, 1024, 640))
out = model(x)
```
Moreover, i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15986/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15986/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15986",
"html_url": "https://github.com/huggingface/transformers/pull/15986",
"diff_url": "https://github.com/huggingface/transformers/pull/15986.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15986.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15985 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15985/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15985/comments | https://api.github.com/repos/huggingface/transformers/issues/15985/events | https://github.com/huggingface/transformers/pull/15985 | 1,162,599,696 | PR_kwDOCUB6oc40Gk1t | 15,985 | Add the XTREME-S fine-tuning example | {
"login": "anton-l",
"id": 26864830,
"node_id": "MDQ6VXNlcjI2ODY0ODMw",
"avatar_url": "https://avatars.githubusercontent.com/u/26864830?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anton-l",
"html_url": "https://github.com/anton-l",
"followers_url": "https://api.github.com/users/anton-... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Looks very nice! I'm not 100% sure under which folder to put the script, but I tend to `audio-classification` as `run_glue.py` is under `text-classification`. \r\n\r\nThis xtreme-s is a new speech benchmark that has both speech recog... | 1,646 | 1,647 | 1,647 | MEMBER | null | # What does this PR do?
This adds and example script and benchmark results for fine-tuning speech models on the [XTREME-S](https://huggingface.co/datasets/google/xtreme_s) becnhmark tasks, namely Speech Recognition and Speech Classification.
The results so far:
| Task | Dataset | Result ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15985/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/15985/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15985",
"html_url": "https://github.com/huggingface/transformers/pull/15985",
"diff_url": "https://github.com/huggingface/transformers/pull/15985.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15985.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15984 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15984/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15984/comments | https://api.github.com/repos/huggingface/transformers/issues/15984/events | https://github.com/huggingface/transformers/pull/15984 | 1,162,587,436 | PR_kwDOCUB6oc40GiRX | 15,984 | Add Document Image Transformer (DiT) | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Failing test is unrelated, therefore merging."
] | 1,646 | 1,646 | 1,646 | CONTRIBUTOR | null | # What does this PR do?
This PR adds the conversion script used to convert DiT checkpoints from the [original repo](https://github.com/microsoft/unilm/tree/master/dit) to the hub.
It also adds a dedicated docs page (referring to the docs of BEiT). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15984/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15984/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15984",
"html_url": "https://github.com/huggingface/transformers/pull/15984",
"diff_url": "https://github.com/huggingface/transformers/pull/15984.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15984.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15983 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15983/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15983/comments | https://api.github.com/repos/huggingface/transformers/issues/15983/events | https://github.com/huggingface/transformers/issues/15983 | 1,162,532,171 | I_kwDOCUB6oc5FStVL | 15,983 | TFEncoderDecoderModel generate() gvies different results after #15562 | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"@ydshieh - thanks for the PR! \r\n\r\nTiny feedback, when we format code you use:\r\n\r\n```python\r\nclass Example:\r\n```\r\n\r\ninstead of \r\n\r\n```\r\nclass Example:\r\n```\r\n\r\nit's a bit easier to quickly read the code this way.",
"@patrickvonplaten I will take a look of this issue if you haven't been ... | 1,646 | 1,654 | 1,654 | COLLABORATOR | null | ## Environment info
- `transformers` version: 4.17.0.dev0
- Platform: Linux-5.13.0-1015-gcp-x86_64-with-glibc2.31
- Python version: 3.9.7
- PyTorch version (GPU?): 1.10.2+cu102 (False)
- Tensorflow version (GPU?): 2.7.0 (False)
- Flax version (CPU?/GPU?/TPU?): 0.4.0 (cpu)
- Jax version: 0.3.1
- JaxLib version... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15983/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/15983/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15982 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15982/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15982/comments | https://api.github.com/repos/huggingface/transformers/issues/15982/events | https://github.com/huggingface/transformers/issues/15982 | 1,162,481,107 | I_kwDOCUB6oc5FSg3T | 15,982 | Marian cannot be fully serialized because it accesses the filesystem after the object instantiation | {
"login": "candalfigomoro",
"id": 50733646,
"node_id": "MDQ6VXNlcjUwNzMzNjQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/50733646?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/candalfigomoro",
"html_url": "https://github.com/candalfigomoro",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"The reason seems to be due to the sentence piece library: https://github.com/google/sentencepiece -> should we maybe post the issue there? \r\n\r\nOtherwise @candalfigomoro, could you maybe try to use the `tokenizers` libraries instead of `sentencepiece`? https://github.com/huggingface/tokenizers",
"> Otherwise ... | 1,646 | 1,653 | 1,653 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.17.0
- Platform: linux-64
- Python version: 3.8
- PyTorch version (GPU?): 1.10.2 (CPU-only)
- Tensorflow ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15982/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15982/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15981 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15981/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15981/comments | https://api.github.com/repos/huggingface/transformers/issues/15981/events | https://github.com/huggingface/transformers/pull/15981 | 1,162,464,488 | PR_kwDOCUB6oc40GIGl | 15,981 | [Env Command] Add hf hub to env version command | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15981). All of your documentation changes will be reflected on that endpoint.",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15981). All of your documentation changes will be re... | 1,646 | 1,646 | 1,646 | MEMBER | null | # What does this PR do?
Adds the HF hub to the env command
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15981/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15981/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15981",
"html_url": "https://github.com/huggingface/transformers/pull/15981",
"diff_url": "https://github.com/huggingface/transformers/pull/15981.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15981.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15980 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15980/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15980/comments | https://api.github.com/repos/huggingface/transformers/issues/15980/events | https://github.com/huggingface/transformers/issues/15980 | 1,162,459,652 | I_kwDOCUB6oc5FSboE | 15,980 | Bad error message when downloading private model without being logged in. | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [
{
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.gith... | [
"Related: https://github.com/huggingface/datasets/issues/3855",
"> We probably need to do this in moon-landing though no?\r\n\r\nI don't think that requires changes to moon-landing\r\n\r\nFrom what i understand, you need to catch [this error](https://github.com/huggingface/transformers/blob/master/src/transformer... | 1,646 | 1,702 | 1,655 | MEMBER | null | Let's say an organization creates a private model and wants to share it with other team members which are less savy of `huggingface_hub` and `transformers`.
So e.g. I create: https://huggingface.co/NewT5/dummy_model
and want to share it with others.
Now if I run:
```python
from transformers import BertMod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15980/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15980/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15979 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15979/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15979/comments | https://api.github.com/repos/huggingface/transformers/issues/15979/events | https://github.com/huggingface/transformers/pull/15979 | 1,162,308,173 | PR_kwDOCUB6oc40FncX | 15,979 | Fix TFEncDecModelTest - Pytorch device | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15979). All of your documentation changes will be reflected on that endpoint."
] | 1,646 | 1,646 | 1,646 | COLLABORATOR | null | # What does this PR do?
Fix pytorch device issue for `test_pt_tf_equivalence` in `TFEncoderDecoderMixin`.
@patrickvonplaten @sgugger
## Remark:
There are other issues to fix for TFEncoderDecoder test pass:
1. use small models for `test_real_model_save_load_from_pretrained`
2. `test_bert2bert_summariz... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15979/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15979/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15979",
"html_url": "https://github.com/huggingface/transformers/pull/15979",
"diff_url": "https://github.com/huggingface/transformers/pull/15979.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15979.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15978 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15978/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15978/comments | https://api.github.com/repos/huggingface/transformers/issues/15978/events | https://github.com/huggingface/transformers/issues/15978 | 1,162,247,673 | I_kwDOCUB6oc5FRn35 | 15,978 | Add custom classifcation dataset - computer vision | {
"login": "INF800",
"id": 45640029,
"node_id": "MDQ6VXNlcjQ1NjQwMDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/45640029?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/INF800",
"html_url": "https://github.com/INF800",
"followers_url": "https://api.github.com/users/INF800/fo... | [] | closed | false | null | [] | [
"Or, If you don't have that kind of class what would be the best way to generate dataset dict from folder structure mentioned above\r\n```python\r\nDatasetDict({\r\n train: Dataset({\r\n features: ['image_file_path', 'image', 'labels'],\r\n num_rows: 1034\r\n })\r\n validation: Dataset({\r\n ... | 1,646 | 1,646 | 1,646 | NONE | null | Hi, I recently read your amazing blog https://huggingface.co/blog/fine-tune-vit
There I could not find any reference to how to create our own dataset. Is there any class helper that we can use? Something like -
```python
from xyz import ImageClassificationDataset
dataset = ImageClassificationDataset.from_dire... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15978/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15978/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15977 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15977/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15977/comments | https://api.github.com/repos/huggingface/transformers/issues/15977/events | https://github.com/huggingface/transformers/pull/15977 | 1,162,205,395 | PR_kwDOCUB6oc40FSEb | 15,977 | Add FlaxConvNext | {
"login": "DarshanDeshpande",
"id": 39432636,
"node_id": "MDQ6VXNlcjM5NDMyNjM2",
"avatar_url": "https://avatars.githubusercontent.com/u/39432636?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DarshanDeshpande",
"html_url": "https://github.com/DarshanDeshpande",
"followers_url": "https://... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15977). All of your documentation changes will be reflected on that endpoint.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please... | 1,646 | 1,655 | 1,655 | NONE | null | # What does this PR do?
Adds a Flax ConvNext model to transformers.
## Who can review?
This is currently an in-progress PR as discussed with @patil-suraj
TODO: Fix docstrings, ensure proper parameter name mapping for inter-framework weight conversion and write tests | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15977/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15977/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15977",
"html_url": "https://github.com/huggingface/transformers/pull/15977",
"diff_url": "https://github.com/huggingface/transformers/pull/15977.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15977.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15976 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15976/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15976/comments | https://api.github.com/repos/huggingface/transformers/issues/15976/events | https://github.com/huggingface/transformers/issues/15976 | 1,162,124,247 | I_kwDOCUB6oc5FRJvX | 15,976 | Deadlock when loading the model in multiprocessing context | {
"login": "vikigenius",
"id": 12724810,
"node_id": "MDQ6VXNlcjEyNzI0ODEw",
"avatar_url": "https://avatars.githubusercontent.com/u/12724810?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vikigenius",
"html_url": "https://github.com/vikigenius",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey @vikigenius,\r\n\r\nCould you please use the forum: https://discuss.huggingface.co/ instead for this error? This seems to be quite a special case and we are trying to use Transformers issues only for issues that are directly related to Transformers models. We cannot guarantee that they work for every specific ... | 1,646 | 1,650 | 1,650 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.17.0
- Platform: Linux
- Python version: 3.9.7
- PyTorch version (GPU?): 1.10.2
- Using GPU in script?: Y... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15976/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
} | https://api.github.com/repos/huggingface/transformers/issues/15976/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15975 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15975/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15975/comments | https://api.github.com/repos/huggingface/transformers/issues/15975/events | https://github.com/huggingface/transformers/issues/15975 | 1,162,106,705 | I_kwDOCUB6oc5FRFdR | 15,975 | add special tokens does not work in GPT2Tokenizer | {
"login": "ahxchzt",
"id": 38791708,
"node_id": "MDQ6VXNlcjM4NzkxNzA4",
"avatar_url": "https://avatars.githubusercontent.com/u/38791708?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ahxchzt",
"html_url": "https://github.com/ahxchzt",
"followers_url": "https://api.github.com/users/ahxchz... | [] | closed | false | null | [] | [
"Hey @ahxchzt,\r\n\r\nThanks for your issue.\r\nCould you please provide at code-snippet that one can copy-paste into a Python environment and execute directly. Your code snippet doesn't work because:\r\n\r\n- 1) `GPT2Tokenizer` is not imported \r\n- 2) No one has access to `gpt2path` nor `kbpath` so we can't repro... | 1,646 | 1,646 | 1,646 | NONE | null | ## Environment info
- `transformers` version: 3.5.0
- Platform: Pytorch
- Python version: 3.7.5
- PyTorch version (GPU?): torch-1.6.0 cuda102
Models: GPT-2 @patrickvonplaten
- Tokenizers: @SaulLu
## Information
I want to add some special tokens to the GPT2 vocab but the function "add_ special_tokens... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15975/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15975/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15974 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15974/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15974/comments | https://api.github.com/repos/huggingface/transformers/issues/15974/events | https://github.com/huggingface/transformers/issues/15974 | 1,162,085,905 | I_kwDOCUB6oc5FRAYR | 15,974 | Models traced with HFTracer cannot be TorchScripted or serialized | {
"login": "jamesr66a",
"id": 4685384,
"node_id": "MDQ6VXNlcjQ2ODUzODQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/4685384?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jamesr66a",
"html_url": "https://github.com/jamesr66a",
"followers_url": "https://api.github.com/users/ja... | [] | closed | false | {
"login": "michaelbenayoun",
"id": 25418079,
"node_id": "MDQ6VXNlcjI1NDE4MDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/25418079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelbenayoun",
"html_url": "https://github.com/michaelbenayoun",
"followers_url": "https://api... | [
{
"login": "michaelbenayoun",
"id": 25418079,
"node_id": "MDQ6VXNlcjI1NDE4MDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/25418079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelbenayoun",
"html_url": "https://github.com/michaelbenayoun",
"follower... | [
"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,646 | 1,650 | 1,650 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.17.0.dev0
- Platform: Linux-5.4.0-1051-aws-x86_64-with-glibc2.27
- Python version: 3.9.5
- PyTorch version (GPU?): 1.11.0a0+git708f7b1 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15974/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15974/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15973 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15973/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15973/comments | https://api.github.com/repos/huggingface/transformers/issues/15973/events | https://github.com/huggingface/transformers/issues/15973 | 1,162,070,314 | I_kwDOCUB6oc5FQ8kq | 15,973 | error invoking create_optimizer from Jupyter lab | {
"login": "bpraveenk",
"id": 14226904,
"node_id": "MDQ6VXNlcjE0MjI2OTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/14226904?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bpraveenk",
"html_url": "https://github.com/bpraveenk",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"I could fix the issue by running `pip install importlib`. Shouldn't importlib be installed automatically as part of transformers installation? I had to go through the code to identify the importlib dependency.",
"Hi, I can't reproduce this issue. I made a [Colab notebook](https://colab.research.google.com/drive/... | 1,646 | 1,650 | 1,650 | NONE | null | - `transformers` version: 4.17.0
- Platform: Darwin-21.3.0-x86_64-i386-64bit
- Python version: 3.7.3
- PyTorch version (GPU?): 1.6.0 (False)
- Tensorflow version (GPU?): 2.8.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not installed
- Using GPU in ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15973/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15973/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15972 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15972/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15972/comments | https://api.github.com/repos/huggingface/transformers/issues/15972/events | https://github.com/huggingface/transformers/pull/15972 | 1,161,887,855 | PR_kwDOCUB6oc40EPRJ | 15,972 | Make `pos` optional in `PerceiverAudioPreprocessor` to avoid crashing `PerceiverModel` operation | {
"login": "basilevh",
"id": 18504625,
"node_id": "MDQ6VXNlcjE4NTA0NjI1",
"avatar_url": "https://avatars.githubusercontent.com/u/18504625?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/basilevh",
"html_url": "https://github.com/basilevh",
"followers_url": "https://api.github.com/users/bas... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Merging this to solve your issue in the meantime."
] | 1,646 | 1,646 | 1,646 | CONTRIBUTOR | null | Updates `PerceiverAudioPreprocessor` `forward()` implementation to match most other preprocessors / postprocessors.
Fixes #15971.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15972/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15972/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15972",
"html_url": "https://github.com/huggingface/transformers/pull/15972",
"diff_url": "https://github.com/huggingface/transformers/pull/15972.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15972.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15971 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15971/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15971/comments | https://api.github.com/repos/huggingface/transformers/issues/15971/events | https://github.com/huggingface/transformers/issues/15971 | 1,161,879,021 | I_kwDOCUB6oc5FQN3t | 15,971 | PerceiverAudioPreprocessor: forward() missing 1 required positional argument: 'pos' | {
"login": "basilevh",
"id": 18504625,
"node_id": "MDQ6VXNlcjE4NTA0NjI1",
"avatar_url": "https://avatars.githubusercontent.com/u/18504625?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/basilevh",
"html_url": "https://github.com/basilevh",
"followers_url": "https://api.github.com/users/bas... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hi,\r\n\r\nThanks for raising this issue. This was a leftover from porting Deepmind's original repo. However, as I'm implementing the position embeddings differently in PyTorch (vs. the original implementation which was in Haiku), this can probably be deleted. I'll work on a PR to remove it everywhere.",
"Reopen... | 1,646 | 1,664 | 1,664 | CONTRIBUTOR | null | The [`forward()` method implementation of `PerceiverAudioPreprocessor`](https://github.com/huggingface/transformers/blob/38cc35069c10d153e872162265288263bb7394b7/src/transformers/models/perceiver/modeling_perceiver.py#L3267) seems to be problematic because it has an extra required `pos` argument, whereas all other prep... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15971/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15971/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15970 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15970/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15970/comments | https://api.github.com/repos/huggingface/transformers/issues/15970/events | https://github.com/huggingface/transformers/issues/15970 | 1,161,810,067 | I_kwDOCUB6oc5FP9CT | 15,970 | Unigram tokenizer Result is Incorrect | {
"login": "liweifriends126",
"id": 57035290,
"node_id": "MDQ6VXNlcjU3MDM1Mjkw",
"avatar_url": "https://avatars.githubusercontent.com/u/57035290?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liweifriends126",
"html_url": "https://github.com/liweifriends126",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"I can reproduce it for this particular text, there indeed is some difference between fast and slow tokenizer.\r\n\r\n```python\r\nfrom transformers import XLMRobertaTokenizer, AutoTokenizer\r\n\r\ntok_s = XLMRobertaTokenizer.from_pretrained(\"xlm-roberta-base\")\r\ntok_f = AutoTokenizer.from_pretrained(\"xlm-rober... | 1,646 | 1,651 | 1,651 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.16.2
- Platform: Windows
- Python version: 3.7.0
- PyTorch version (GPU?): 1.10.2 (CPU)
- Tensorflow vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15970/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15970/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15969 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15969/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15969/comments | https://api.github.com/repos/huggingface/transformers/issues/15969/events | https://github.com/huggingface/transformers/pull/15969 | 1,161,601,352 | PR_kwDOCUB6oc40DSMt | 15,969 | [Doctests] Move doctests to new GPU & Fix bugs | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15969). All of your documentation changes will be reflected on that endpoint.",
"@sgugger @LysandreJik - if you're fine with new CPU doc test runner, then if possible it would also be nice to report test failures just like ... | 1,646 | 1,647 | 1,646 | 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/15969/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15969/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15969",
"html_url": "https://github.com/huggingface/transformers/pull/15969",
"diff_url": "https://github.com/huggingface/transformers/pull/15969.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15969.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15968 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15968/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15968/comments | https://api.github.com/repos/huggingface/transformers/issues/15968/events | https://github.com/huggingface/transformers/issues/15968 | 1,161,553,824 | I_kwDOCUB6oc5FO-eg | 15,968 | How to use GPT-2 for predicting the next word in batch | {
"login": "etsurin",
"id": 59410307,
"node_id": "MDQ6VXNlcjU5NDEwMzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/59410307?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/etsurin",
"html_url": "https://github.com/etsurin",
"followers_url": "https://api.github.com/users/etsuri... | [] | closed | false | null | [] | [] | 1,646 | 1,646 | 1,646 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version:
- Platform:transformers 4.16.0.ver0
- Python version:3.7
- PyTorch version (GPU?):1.10.1
- Tensorflow versi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15968/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15968/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15967 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15967/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15967/comments | https://api.github.com/repos/huggingface/transformers/issues/15967/events | https://github.com/huggingface/transformers/pull/15967 | 1,161,443,407 | PR_kwDOCUB6oc40CwrX | 15,967 | Fix broken code blocks in README.md | {
"login": "upura",
"id": 31459778,
"node_id": "MDQ6VXNlcjMxNDU5Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/31459778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/upura",
"html_url": "https://github.com/upura",
"followers_url": "https://api.github.com/users/upura/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,646 | 1,646 | 1,646 | CONTRIBUTOR | null | # What does this PR do?
Fix a broken code blocks in `README.md` at [`transformers/examples/pytorch/contrastive-image-text`](https://github.com/huggingface/transformers/tree/master/examples/pytorch/contrastive-image-text).
## Current screenshot
<img width="1030" alt="Screen Shot 2022-03-07 at 22 45 57" src="htt... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15967/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15967/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15967",
"html_url": "https://github.com/huggingface/transformers/pull/15967",
"diff_url": "https://github.com/huggingface/transformers/pull/15967.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15967.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15966 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15966/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15966/comments | https://api.github.com/repos/huggingface/transformers/issues/15966/events | https://github.com/huggingface/transformers/issues/15966 | 1,161,353,688 | I_kwDOCUB6oc5FONnY | 15,966 | EvalPrediction does not allow for "sources" parameter which "sari" metric requires | {
"login": "alisonhc",
"id": 14085644,
"node_id": "MDQ6VXNlcjE0MDg1NjQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/14085644?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alisonhc",
"html_url": "https://github.com/alisonhc",
"followers_url": "https://api.github.com/users/ali... | [] | closed | false | null | [] | [
"I've placed a similar request to this (I would say is the same :)), not sure if it is released. @mariosasko your advise on this? \r\nhttps://github.com/huggingface/datasets/issues/3818\r\n",
"I saw this! I think it's fixed in the datasets library but isn't fixed yet in this one.",
"Hey! We're happy to review P... | 1,646 | 1,677 | 1,650 | NONE | null | https://github.com/huggingface/transformers/blob/db7d6a80e82d66127b2a44b6e3382969fdc8b207/src/transformers/trainer_utils.py#L67
Hello, I have been following [this example](https://github.com/huggingface/transformers/blob/master/examples/pytorch/translation/run_translation.py) and would like to use the [sari metric](... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15966/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15966/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15965 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15965/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15965/comments | https://api.github.com/repos/huggingface/transformers/issues/15965/events | https://github.com/huggingface/transformers/pull/15965 | 1,161,291,401 | PR_kwDOCUB6oc40CQKu | 15,965 | remove re-defination of FlaxWav2Vec2ForCTCModule | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15965). All of your documentation changes will be reflected on that endpoint.",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15965). All of your documentation changes will be re... | 1,646 | 1,646 | 1,646 | MEMBER | null | # What does this PR do?
Remove duplicate definations of `FlaxWav2Vec2ForCTCModule` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15965/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15965/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15965",
"html_url": "https://github.com/huggingface/transformers/pull/15965",
"diff_url": "https://github.com/huggingface/transformers/pull/15965.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15965.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15964 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15964/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15964/comments | https://api.github.com/repos/huggingface/transformers/issues/15964/events | https://github.com/huggingface/transformers/pull/15964 | 1,161,152,677 | PR_kwDOCUB6oc40B4bE | 15,964 | Feature Extractor accepts `segmentation_maps` | {
"login": "FrancescoSaverioZuppichini",
"id": 15908060,
"node_id": "MDQ6VXNlcjE1OTA4MDYw",
"avatar_url": "https://avatars.githubusercontent.com/u/15908060?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FrancescoSaverioZuppichini",
"html_url": "https://github.com/FrancescoSaverioZuppichini"... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for the comments. All the conversations have been resolved, the feature extractors config have to be re-uploaded to the hub. \r\n\r\nI think passing the `num_labels` in the `__init__` is not the best solution (but it's a solut... | 1,646 | 1,648 | 1,648 | CONTRIBUTOR | null | # What does this PR do?
This PR modifies `MaskFormerFeatureExtractor` in order to accepts a `segmentation_maps`. Under the hood in convert the map to binary masks using `.convert_segmentation_map_to_binary_masks`. It follows an usage example:
```python
image = Image.open("./transformers/tests/fixtures/tests_sampl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15964/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15964/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15964",
"html_url": "https://github.com/huggingface/transformers/pull/15964",
"diff_url": "https://github.com/huggingface/transformers/pull/15964.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15964.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.