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/15863 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15863/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15863/comments | https://api.github.com/repos/huggingface/transformers/issues/15863/events | https://github.com/huggingface/transformers/pull/15863 | 1,155,098,689 | PR_kwDOCUB6oc4zt2hG | 15,863 | Adding timestamps for CTC with LM in ASR pipeline. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15863). All of your documentation changes will be reflected on that endpoint.",
"Perfect.",
"Need to rebase the PR to remove the dev documentation failure. Think then we're good to go"
] | 1,646 | 1,646 | 1,646 | CONTRIBUTOR | null | # What does this PR do?
- Adds `word` to return_timestamps for `ctc_with_lm` models.
- Move `offset` -> `timestamp` logic to make it used for both code paths.
<!--
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15863/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15863/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15863",
"html_url": "https://github.com/huggingface/transformers/pull/15863",
"diff_url": "https://github.com/huggingface/transformers/pull/15863.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15863.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15862 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15862/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15862/comments | https://api.github.com/repos/huggingface/transformers/issues/15862/events | https://github.com/huggingface/transformers/issues/15862 | 1,154,956,018 | I_kwDOCUB6oc5E1zry | 15,862 | Adding license file to some of the BERT models | {
"login": "sasaadi",
"id": 7882383,
"node_id": "MDQ6VXNlcjc4ODIzODM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7882383?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sasaadi",
"html_url": "https://github.com/sasaadi",
"followers_url": "https://api.github.com/users/sasaadi/... | [] | closed | false | null | [] | [
"Hi @VictorSanh, I would like to know if a license file can be added to the above mentioned models. Since you have proposed the Distilbert models, I was just wondering if you could maybe provide a license file for the Ditsilbert models? \r\n\r\nThank you.",
"Interesting question regarding lincense of models on th... | 1,646 | 1,654 | 1,654 | NONE | null | Hi,
I am interested in using “[distilbert-base-german-cased](https://huggingface.co/distilbert-base-german-cased)”, “[bert-base-uncased](https://huggingface.co/bert-base-uncased)”, and “[distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased)” models for industrial applications. To be able to downlo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15862/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15862/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15861 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15861/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15861/comments | https://api.github.com/repos/huggingface/transformers/issues/15861/events | https://github.com/huggingface/transformers/issues/15861 | 1,154,932,009 | I_kwDOCUB6oc5E1t0p | 15,861 | Unable to run Speech2Text example in documentation | {
"login": "jnzw",
"id": 89251456,
"node_id": "MDQ6VXNlcjg5MjUxNDU2",
"avatar_url": "https://avatars.githubusercontent.com/u/89251456?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jnzw",
"html_url": "https://github.com/jnzw",
"followers_url": "https://api.github.com/users/jnzw/followers"... | [] | closed | false | null | [] | [
"@anton-l - we should put this on our TODO for the doc tests",
"`inputs_ids` should be replaced with `inputs` - I'll try to update the docs asap",
"Should be fixed here: #15911 and be part of new release."
] | 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: 4.16.2
- Platform: Linux-5.4.0-94-generic-x86_64-with-glibc2.10
- Python version: 3.8.8
- PyTorch version (G... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15861/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/15861/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15860 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15860/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15860/comments | https://api.github.com/repos/huggingface/transformers/issues/15860/events | https://github.com/huggingface/transformers/pull/15860 | 1,154,570,012 | PR_kwDOCUB6oc4zsHuy | 15,860 | Add PT + TF automatic builds | {
"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_15860). All of your documentation changes will be reflected on that endpoint."
] | 1,646 | 1,646 | 1,646 | MEMBER | null | Adds docker containers for both PyTorch and TensorFlow on which the pipelines will run.
Solves the dependencies errors for PyTorch and TensorFlow pipelines. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15860/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/15860/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15860",
"html_url": "https://github.com/huggingface/transformers/pull/15860",
"diff_url": "https://github.com/huggingface/transformers/pull/15860.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15860.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15859 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15859/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15859/comments | https://api.github.com/repos/huggingface/transformers/issues/15859/events | https://github.com/huggingface/transformers/pull/15859 | 1,154,507,006 | PR_kwDOCUB6oc4zr6PF | 15,859 | set python version to 3.7 for flax tests | {
"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_15859). All of your documentation changes will be reflected on that endpoint."
] | 1,646 | 1,646 | 1,646 | MEMBER | null | # What does this PR do?
set python version to 3.7 for self-push flax tests. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15859/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15859/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15859",
"html_url": "https://github.com/huggingface/transformers/pull/15859",
"diff_url": "https://github.com/huggingface/transformers/pull/15859.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15859.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15858 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15858/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15858/comments | https://api.github.com/repos/huggingface/transformers/issues/15858/events | https://github.com/huggingface/transformers/pull/15858 | 1,154,500,446 | PR_kwDOCUB6oc4zr41P | 15,858 | set python version to 3.7 for flax tests | {
"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_15858). All of your documentation changes will be reflected on that endpoint."
] | 1,646 | 1,646 | 1,646 | MEMBER | null | # What does this PR do?
Set python version to 3.7 for self-push flax tests. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15858/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15858/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15858",
"html_url": "https://github.com/huggingface/transformers/pull/15858",
"diff_url": "https://github.com/huggingface/transformers/pull/15858.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15858.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15857 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15857/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15857/comments | https://api.github.com/repos/huggingface/transformers/issues/15857/events | https://github.com/huggingface/transformers/issues/15857 | 1,154,432,907 | I_kwDOCUB6oc5Ezz-L | 15,857 | Supporting multiple evaluation datasets in `Trainer` and `Seq2seqTrainer` | {
"login": "alexcoca",
"id": 30216068,
"node_id": "MDQ6VXNlcjMwMjE2MDY4",
"avatar_url": "https://avatars.githubusercontent.com/u/30216068?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexcoca",
"html_url": "https://github.com/alexcoca",
"followers_url": "https://api.github.com/users/ale... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [
"We could support several evaluation datasets inside the `Trainer` natively. I think the easiest would be to:\r\n- accept a list of datasets for the `eval_dataset` at init\r\n- have a new boolean `TrainingArguments` named `multiple_eval_dataset` that would tell the `Trainer` that it has several evaluation datasets ... | 1,646 | 1,663 | 1,663 | NONE | null | # 🚀 Feature request
Support for evaluating on multiple validation datasets when using the `Trainer` class.
## Motivation
This is a common use case in research. Imagine that you train your model on some data, and you have validation data coming from two distinct distributions. You want to compute two sets of m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15857/reactions",
"total_count": 7,
"+1": 7,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15857/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15856 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15856/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15856/comments | https://api.github.com/repos/huggingface/transformers/issues/15856/events | https://github.com/huggingface/transformers/pull/15856 | 1,154,344,803 | PR_kwDOCUB6oc4zrX6m | 15,856 | Fix (deprecated) ONNX exporter to account for new tf2onnx API | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15856). All of your documentation changes will be reflected on that endpoint."
] | 1,646 | 1,646 | 1,646 | MEMBER | null | # What does this PR do?
This PR fixes an issue with the deprecated `convert_graph_to_onnx` module, where exporting TensorFlow models to ONNX failed due to changes in the `tf2onnx` API. In particular, the failing tests in question were:
* `test_onnx.py::OnnxExportTestCase::test_export_tensorflow`
* `test_onnx.py:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15856/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15856/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15856",
"html_url": "https://github.com/huggingface/transformers/pull/15856",
"diff_url": "https://github.com/huggingface/transformers/pull/15856.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15856.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15855 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15855/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15855/comments | https://api.github.com/repos/huggingface/transformers/issues/15855/events | https://github.com/huggingface/transformers/pull/15855 | 1,154,302,469 | PR_kwDOCUB6oc4zrPDO | 15,855 | Update TF LM examples | {
"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_15855). All of your documentation changes will be reflected on that endpoint."
] | 1,646 | 1,646 | 1,646 | MEMBER | null | # What does this PR do?
As part of the objective to bring TF examples up to speed, this PR updates the LM examples with the internal loss computations and the `to_tf_dataset()` functionality, which shaves off significant custom code. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15855/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15855/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15855",
"html_url": "https://github.com/huggingface/transformers/pull/15855",
"diff_url": "https://github.com/huggingface/transformers/pull/15855.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15855.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15854 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15854/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15854/comments | https://api.github.com/repos/huggingface/transformers/issues/15854/events | https://github.com/huggingface/transformers/pull/15854 | 1,154,275,127 | PR_kwDOCUB6oc4zrJR0 | 15,854 | Add time stamps for wav2vec2 with lm | {
"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_15854). All of your documentation changes will be reflected on that endpoint.",
"@sgugger - if you could take a quick look here this would be great :-)"
] | 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/15854/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15854/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15854",
"html_url": "https://github.com/huggingface/transformers/pull/15854",
"diff_url": "https://github.com/huggingface/transformers/pull/15854.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15854.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15853 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15853/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15853/comments | https://api.github.com/repos/huggingface/transformers/issues/15853/events | https://github.com/huggingface/transformers/pull/15853 | 1,154,191,046 | PR_kwDOCUB6oc4zq3eK | 15,853 | Add TF benchmark examples | {
"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_15853). All of your documentation changes will be reflected on that endpoint.",
"I see that this PR (https://github.com/huggingface/transformers/pull/15848) exists -- should I just delete the benchmark example instead?",
... | 1,646 | 1,648 | 1,646 | MEMBER | null | # What does this PR do?
As part of the objective to refresh TF examples, this one adds actual TF benchmarks in the examples. Also showcases the power of XLA ;) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15853/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15853/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15853",
"html_url": "https://github.com/huggingface/transformers/pull/15853",
"diff_url": "https://github.com/huggingface/transformers/pull/15853.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15853.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15852 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15852/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15852/comments | https://api.github.com/repos/huggingface/transformers/issues/15852/events | https://github.com/huggingface/transformers/pull/15852 | 1,154,098,426 | PR_kwDOCUB6oc4zqkJe | 15,852 | Add TF generate sample tests with all logit processors | {
"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_15852). All of your documentation changes will be reflected on that endpoint.",
"Also, code quality is failing, be sure to `make style`!",
"> Is the plan to add a single specific test for each logit processor, as they're ... | 1,646 | 1,646 | 1,646 | MEMBER | null | # What does this PR do?
This PR adds a GPT2 TF generate sample test with all logit processors. It is a requirement for the TF generate sample refactor (https://github.com/huggingface/transformers/pull/15793), which is part of the TF generate refactor. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15852/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15852/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15852",
"html_url": "https://github.com/huggingface/transformers/pull/15852",
"diff_url": "https://github.com/huggingface/transformers/pull/15852.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15852.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15851 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15851/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15851/comments | https://api.github.com/repos/huggingface/transformers/issues/15851/events | https://github.com/huggingface/transformers/pull/15851 | 1,154,090,273 | PR_kwDOCUB6oc4zqib7 | 15,851 | [vision] Add problem_type support | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15851). All of your documentation changes will be reflected on that endpoint."
] | 1,646 | 1,646 | 1,646 | CONTRIBUTOR | null | # What does this PR do?
* add `problem_type` support to vision backbones that weren't supporting this before
* make sure all vision backbones are tested for this | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15851/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15851/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15851",
"html_url": "https://github.com/huggingface/transformers/pull/15851",
"diff_url": "https://github.com/huggingface/transformers/pull/15851.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15851.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15850 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15850/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15850/comments | https://api.github.com/repos/huggingface/transformers/issues/15850/events | https://github.com/huggingface/transformers/issues/15850 | 1,154,069,191 | I_kwDOCUB6oc5EybLH | 15,850 | No such file or directory: '../datasets/RE/${DATA}/${SPLIT}/cached_train_BertTokenizer_128_sst-2.lock' | {
"login": "Bharathi-A-7",
"id": 61634692,
"node_id": "MDQ6VXNlcjYxNjM0Njky",
"avatar_url": "https://avatars.githubusercontent.com/u/61634692?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Bharathi-A-7",
"html_url": "https://github.com/Bharathi-A-7",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"From your error `No such file or directory: '../datasets/RE/${DATA}/${SPLIT}/cached_train_BertTokenizer_128_sst-2.lock'` , it seems like the script input literally takes `${DATA}` and `${SPLIT}` instead of the values of the environment variables. ",
"This issue has been automatically marked as stale because it h... | 1,646 | 1,657 | 1,649 | NONE | null | [@wonjininfo](https://github.com/wonjininfo)
Platform: Google Colab
Python version: 3.7
Transformers version: 3.0.0
Installations that were done:
```
pip install transformers==3.0.0
```
I'm trying to use Biobert from [this github repository](https://github.com/dmis-lab/biobert-pytorch), and I followed the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15850/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15850/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15849 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15849/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15849/comments | https://api.github.com/repos/huggingface/transformers/issues/15849/events | https://github.com/huggingface/transformers/pull/15849 | 1,153,939,913 | PR_kwDOCUB6oc4zqCPG | 15,849 | Rename semantic segmentation outputs | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15849). All of your documentation changes will be reflected on that endpoint.",
"`Classifier` is a model name, whereas `Segmentation` is not. We could go for `SemanticSegmenter` if you dislike `SemanticSegmentationModelOutp... | 1,646 | 1,648 | 1,648 | CONTRIBUTOR | null | # What does this PR do?
This PR renames `SemanticSegmentationModelOutput` to `SemanticSegmentationOutput`, because of simplicity.
We also have `SequenceClassifierOutput` and `TokenClassifierOutput` for instance, so the "model" in the name is not really useful. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15849/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15849/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15849",
"html_url": "https://github.com/huggingface/transformers/pull/15849",
"diff_url": "https://github.com/huggingface/transformers/pull/15849.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15849.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15848 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15848/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15848/comments | https://api.github.com/repos/huggingface/transformers/issues/15848/events | https://github.com/huggingface/transformers/pull/15848 | 1,153,911,547 | PR_kwDOCUB6oc4zp8Ny | 15,848 | [Benchmark tools] Deprecate all | {
"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_15848). All of your documentation changes will be reflected on that endpoint."
] | 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/15848/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15848/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15848",
"html_url": "https://github.com/huggingface/transformers/pull/15848",
"diff_url": "https://github.com/huggingface/transformers/pull/15848.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15848.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15847 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15847/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15847/comments | https://api.github.com/repos/huggingface/transformers/issues/15847/events | https://github.com/huggingface/transformers/pull/15847 | 1,153,852,894 | PR_kwDOCUB6oc4zpv1H | 15,847 | [UniSpeechSat] Revert previous incorrect change of slow tests | {
"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 | [] | [] | 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/15847/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15847/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15847",
"html_url": "https://github.com/huggingface/transformers/pull/15847",
"diff_url": "https://github.com/huggingface/transformers/pull/15847.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15847.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15846 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15846/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15846/comments | https://api.github.com/repos/huggingface/transformers/issues/15846/events | https://github.com/huggingface/transformers/pull/15846 | 1,153,834,678 | PR_kwDOCUB6oc4zpr-j | 15,846 | [TF-PT-Tests] Fix PyTorch - TF tests for different GPU devices | {
"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_15846). All of your documentation changes will be reflected on that endpoint."
] | 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/15846/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15846/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15846",
"html_url": "https://github.com/huggingface/transformers/pull/15846",
"diff_url": "https://github.com/huggingface/transformers/pull/15846.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15846.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15845 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15845/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15845/comments | https://api.github.com/repos/huggingface/transformers/issues/15845/events | https://github.com/huggingface/transformers/pull/15845 | 1,153,830,786 | PR_kwDOCUB6oc4zprJ6 | 15,845 | Decision transformer gym | {
"login": "edbeeching",
"id": 7275864,
"node_id": "MDQ6VXNlcjcyNzU4NjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/7275864?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/edbeeching",
"html_url": "https://github.com/edbeeching",
"followers_url": "https://api.github.com/users... | [] | closed | false | {
"login": "thomwolf",
"id": 7353373,
"node_id": "MDQ6VXNlcjczNTMzNzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomwolf",
"html_url": "https://github.com/thomwolf",
"followers_url": "https://api.github.com/users/thomw... | [
{
"login": "thomwolf",
"id": 7353373,
"node_id": "MDQ6VXNlcjczNTMzNzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomwolf",
"html_url": "https://github.com/thomwolf",
"followers_url": "https://api.gi... | [
"I have:\r\n- Removed the (temporary) changes that were made on the gpt2 model\r\n- Added zeroed position encodings to the call to gpt2 forward, so they are ignored. (as these are implemented in the DT model)\r\n- Fixed issues related to black line length (my IDE was set to the default I think)\r\n- Removed dataset... | 1,646 | 1,648 | 1,648 | 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/15845/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15845/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15845",
"html_url": "https://github.com/huggingface/transformers/pull/15845",
"diff_url": "https://github.com/huggingface/transformers/pull/15845.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15845.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15844 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15844/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15844/comments | https://api.github.com/repos/huggingface/transformers/issues/15844/events | https://github.com/huggingface/transformers/issues/15844 | 1,153,778,931 | I_kwDOCUB6oc5ExUTz | 15,844 | Error:"TypeError: 'NoneType' object is not callable" with model specific Tokenizers | {
"login": "afcruzs",
"id": 4340932,
"node_id": "MDQ6VXNlcjQzNDA5MzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/4340932?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/afcruzs",
"html_url": "https://github.com/afcruzs",
"followers_url": "https://api.github.com/users/afcruzs/... | [] | closed | false | null | [] | [
"cc @SaulLu for tokenizers",
"Oops #15827 existed already, this seems to be widespread to more than XGLMTokenizer. XLMRobertaTokenizer doesn't seem to work either. AutoTokenizer seems to work but because it's a separate class altogether (`PreTrainedTokenizerFast`)",
"Hi @afcruzs ! `XGLMTokenizer` depends on `se... | 1,646 | 1,690 | 1,648 | 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.17.0.dev0 but also current latest master
- Platform: Colab
- Python version:
- PyTorch version (GPU?):
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15844/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15844/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15843 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15843/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15843/comments | https://api.github.com/repos/huggingface/transformers/issues/15843/events | https://github.com/huggingface/transformers/pull/15843 | 1,153,778,748 | PR_kwDOCUB6oc4zpgQz | 15,843 | Fixing the timestamps with chunking. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15843). All of your documentation changes will be reflected on that endpoint.",
"```\r\nRUN_SLOW=1 RUN_PIPELINE_TESTS=1 pytest -sv tests/pipelines/test_pipelines_automatic_speech_recognition.py\r\n\r\nResults (614.95s):\r\n... | 1,646 | 1,646 | 1,646 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes #15840
- Have to change the tokenization word state machine. With chunking we can have 2 chunks
being concatenated, both containing a separate space. Hopefully this code is readable enough.
- Refactored things to keep more alignment on CTC vs CTC_WITH_LM.
- Removed a bun... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15843/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15843/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15843",
"html_url": "https://github.com/huggingface/transformers/pull/15843",
"diff_url": "https://github.com/huggingface/transformers/pull/15843.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15843.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15842 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15842/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15842/comments | https://api.github.com/repos/huggingface/transformers/issues/15842/events | https://github.com/huggingface/transformers/issues/15842 | 1,153,758,639 | I_kwDOCUB6oc5ExPWv | 15,842 | Output embedding from each self-attention head from each encoder layer | {
"login": "Sreyan88",
"id": 36225987,
"node_id": "MDQ6VXNlcjM2MjI1OTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/36225987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sreyan88",
"html_url": "https://github.com/Sreyan88",
"followers_url": "https://api.github.com/users/Sre... | [] | closed | false | null | [] | [
"Hi @Sreyan88 ! The best place to ask this question is [the forum](https://discuss.huggingface.co/). We use issues for bug reports and feature requests. Thank you! "
] | 1,646 | 1,646 | 1,646 | CONTRIBUTOR | null | Hi there!
I wanted the embeddings from each self-attention head of each encoder layer for one of my projects, is this possible with the hugging face library?
If not, can I just slice the original embeddings from each layer (suppose 768/12 = 128 size slice) to get the attention head output?
Thank You | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15842/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15842/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15841 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15841/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15841/comments | https://api.github.com/repos/huggingface/transformers/issues/15841/events | https://github.com/huggingface/transformers/pull/15841 | 1,153,225,486 | PR_kwDOCUB6oc4znrTD | 15,841 | Make Flax pt-flax equivalence test more aggressive | {
"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_15841). All of your documentation changes will be reflected on that endpoint.",
"Also very surprised that the tests are all passing. @ydshieh - can you double check that the tests are actually passing for most models. Some ... | 1,645 | 1,647 | 1,647 | COLLABORATOR | null | # What does this PR do?
Make Flax pt-flax equivalence test more aggressive. (Similar to #15839 for PT/TF).
It uses `output_hidden_states=True` and `output_attentions=True` to test all output tensors (in a recursive way).
Also, it lowers the tolerance from `4e-2` to `1e-5`. (From the experience I gained in PT/T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15841/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15841/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15841",
"html_url": "https://github.com/huggingface/transformers/pull/15841",
"diff_url": "https://github.com/huggingface/transformers/pull/15841.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15841.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15840 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15840/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15840/comments | https://api.github.com/repos/huggingface/transformers/issues/15840/events | https://github.com/huggingface/transformers/issues/15840 | 1,152,356,808 | I_kwDOCUB6oc5Er5HI | 15,840 | Timestamps in AutomaticSpeechRecognitionPipeline not aligned in sample space | {
"login": "lemswasabi",
"id": 19725501,
"node_id": "MDQ6VXNlcjE5NzI1NTAx",
"avatar_url": "https://avatars.githubusercontent.com/u/19725501?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lemswasabi",
"html_url": "https://github.com/lemswasabi",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @lemswasabi ,\r\n\r\nThanks for the report. We unfortunately cannot drop the stride as when there's batching involved, the tensors cannot be of different shapes. We can however keep track of the stride and fix the timestamps.\r\n\r\nI'll submit a patch tomorrow probably.",
"Hi @Narsil,\r\n\r\nThanks for havin... | 1,645 | 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: 4.17.0.dev0
- Platform: Linux-5.10.98-1-MANJARO-x86_64-with-glibc2.33
- Python version: 3.9.8
- PyTorch vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15840/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/15840/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15839 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15839/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15839/comments | https://api.github.com/repos/huggingface/transformers/issues/15839/events | https://github.com/huggingface/transformers/pull/15839 | 1,152,002,639 | PR_kwDOCUB6oc4zjL02 | 15,839 | Make TF pt-tf equivalence test more aggressive | {
"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_15839). All of your documentation changes will be reflected on that endpoint.",
"> Thank you for your time spent making this better! Two questions:\r\n> \r\n> * Does it run on GPU?\r\n\r\nFor now, I haven't tested it wi... | 1,645 | 1,651 | 1,647 | COLLABORATOR | null | # What does this PR do?
Make TF pt-tf equivalence test more aggressive.
After a series of fixes done so far, I think it is a good time to include this more aggressive testing in `master` branch.
(Otherwise, the new models added might have undetected issues. For example, the recent `TFConvNextModel` would have `h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15839/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15839/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15839",
"html_url": "https://github.com/huggingface/transformers/pull/15839",
"diff_url": "https://github.com/huggingface/transformers/pull/15839.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15839.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15838 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15838/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15838/comments | https://api.github.com/repos/huggingface/transformers/issues/15838/events | https://github.com/huggingface/transformers/issues/15838 | 1,150,756,629 | I_kwDOCUB6oc5ElycV | 15,838 | Issue running run_glue.py at test time | {
"login": "md975",
"id": 25549182,
"node_id": "MDQ6VXNlcjI1NTQ5MTgy",
"avatar_url": "https://avatars.githubusercontent.com/u/25549182?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/md975",
"html_url": "https://github.com/md975",
"followers_url": "https://api.github.com/users/md975/follow... | [] | 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,645 | 1,649 | 1,649 | NONE | null | Hi,
I'm using [this script](https://github.com/huggingface/transformers/blob/master/examples/pytorch/text-classification/run_glue.py) to train a model on my own dataset.
(transformers 4.15.0, datasets 1.17.0, python3.7)
I'm doing single sentence classification, and my CSV files have 2 cols: label, sentence1
I c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15838/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15838/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15837 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15837/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15837/comments | https://api.github.com/repos/huggingface/transformers/issues/15837/events | https://github.com/huggingface/transformers/issues/15837 | 1,150,714,041 | I_kwDOCUB6oc5EloC5 | 15,837 | Problems with convert_blenderbot_original_pytorch_checkpoint_to_pytorch.py | {
"login": "MichalPleban",
"id": 9946531,
"node_id": "MDQ6VXNlcjk5NDY1MzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9946531?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MichalPleban",
"html_url": "https://github.com/MichalPleban",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Hi @MichalPleban ! The blenderbot conversion script has not been updated in a long time. It should actually blenderbot classes instead of bart. Feel free to open a PR to fix this if you are interested. Happy to help! ",
"This issue has been automatically marked as stale because it has not had recent activity. If... | 1,645 | 1,649 | 1,649 | CONTRIBUTOR | null | I am trying to use `the convert_blenderbot_original_pytorch_checkpoint_to_pytorch.py` script to convert a finetuned ParlAI Blenderbot-1B-distill model. I call it this way:
```python convert.py --src_path model --hf_config_json config.json```
Where the `config.json` file is downloaded from the HuggingFace reposito... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15837/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/15837/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15836 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15836/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15836/comments | https://api.github.com/repos/huggingface/transformers/issues/15836/events | https://github.com/huggingface/transformers/pull/15836 | 1,150,707,891 | PR_kwDOCUB6oc4zep7O | 15,836 | Inference for multilingual models | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15836). All of your documentation changes will be reflected on that endpoint."
] | 1,645 | 1,646 | 1,646 | MEMBER | null | This PR updates the multilingual model docs to include M2M100 and MBart whose inference usage is different (basically forcing the `bos` token as the target language id). Let me know if I'm missing any other multilingual models that have a different method for inference! :)
Other notes:
- Moved this doc to the How-t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15836/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15836/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15836",
"html_url": "https://github.com/huggingface/transformers/pull/15836",
"diff_url": "https://github.com/huggingface/transformers/pull/15836.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15836.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15835 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15835/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15835/comments | https://api.github.com/repos/huggingface/transformers/issues/15835/events | https://github.com/huggingface/transformers/pull/15835 | 1,150,703,629 | PR_kwDOCUB6oc4zepCa | 15,835 | [FlaxT5 Example] Fix flax t5 example pretraining | {
"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_15835). All of your documentation changes will be reflected on that endpoint.",
"Gently pinging @stefan-it and @yhavinga here",
"Ok merging now - would love to get some feedback if this fixes the problem :-)",
"I just t... | 1,645 | 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/15835/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15835/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15835",
"html_url": "https://github.com/huggingface/transformers/pull/15835",
"diff_url": "https://github.com/huggingface/transformers/pull/15835.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15835.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15834 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15834/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15834/comments | https://api.github.com/repos/huggingface/transformers/issues/15834/events | https://github.com/huggingface/transformers/issues/15834 | 1,150,648,779 | I_kwDOCUB6oc5ElYHL | 15,834 | Embedding index getting out of range while running onlplab/alephbert-base model | {
"login": "MatanBenChorin",
"id": 49593805,
"node_id": "MDQ6VXNlcjQ5NTkzODA1",
"avatar_url": "https://avatars.githubusercontent.com/u/49593805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MatanBenChorin",
"html_url": "https://github.com/MatanBenChorin",
"followers_url": "https://api.gi... | [] | 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,645 | 1,649 | 1,649 | NONE | null | ## Environment info
- Platform: Google colab
## Information
Model I am using: 'onlplab/alephbert-base'
The problem arises when using:
[* ] the official example scripts:
I tried to implement the code written in your official course (https://huggingface.co/course/chapter7/7?fw=pt)
When the only change I w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15834/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15834/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15833 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15833/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15833/comments | https://api.github.com/repos/huggingface/transformers/issues/15833/events | https://github.com/huggingface/transformers/pull/15833 | 1,150,536,975 | PR_kwDOCUB6oc4zeFoE | 15,833 | [examples/summarization and translation] fix readme | {
"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,645 | 1,645 | 1,645 | MEMBER | null | # What does this PR do?
Remove the `TASK_NAME` which is never used in the command.
cc @michaelbenayoun | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15833/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15833/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15833",
"html_url": "https://github.com/huggingface/transformers/pull/15833",
"diff_url": "https://github.com/huggingface/transformers/pull/15833.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15833.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15832 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15832/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15832/comments | https://api.github.com/repos/huggingface/transformers/issues/15832/events | https://github.com/huggingface/transformers/pull/15832 | 1,150,526,079 | PR_kwDOCUB6oc4zeDOi | 15,832 | Adding Decision Transformer Model (WIP) | {
"login": "edbeeching",
"id": 7275864,
"node_id": "MDQ6VXNlcjcyNzU4NjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/7275864?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/edbeeching",
"html_url": "https://github.com/edbeeching",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,645 | 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/15832/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/15832/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15832",
"html_url": "https://github.com/huggingface/transformers/pull/15832",
"diff_url": "https://github.com/huggingface/transformers/pull/15832.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15832.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15831 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15831/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15831/comments | https://api.github.com/repos/huggingface/transformers/issues/15831/events | https://github.com/huggingface/transformers/pull/15831 | 1,150,445,659 | PR_kwDOCUB6oc4zdx4e | 15,831 | support new marian 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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15831). All of your documentation changes will be reflected on that endpoint."
] | 1,645 | 1,646 | 1,646 | MEMBER | null | # What does this PR do?
This PR updates the Marian model:
1. To allow not sharing embeddings between encoder and decoder.
2. Allow tying only decoder embeddings with `lm_head`.
3. Separate two `vocabs` in `tokenizer` for `src` and `tgt` language
To support this, the PR introduces the following new methods:
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15831/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15831/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15831",
"html_url": "https://github.com/huggingface/transformers/pull/15831",
"diff_url": "https://github.com/huggingface/transformers/pull/15831.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15831.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15830 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15830/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15830/comments | https://api.github.com/repos/huggingface/transformers/issues/15830/events | https://github.com/huggingface/transformers/pull/15830 | 1,150,390,257 | PR_kwDOCUB6oc4zdl1z | 15,830 | Re-enable doctests for task_summary | {
"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,645 | 1,645 | 1,645 | COLLABORATOR | null | # What does this PR do?
This PR re-enables doctests for the task_summary. It should be merged after #15828 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15830/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15830/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15830",
"html_url": "https://github.com/huggingface/transformers/pull/15830",
"diff_url": "https://github.com/huggingface/transformers/pull/15830.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15830.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15829 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15829/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15829/comments | https://api.github.com/repos/huggingface/transformers/issues/15829/events | https://github.com/huggingface/transformers/issues/15829 | 1,150,351,919 | I_kwDOCUB6oc5EkPov | 15,829 | BART model parameters should not contain biases for Q, K and V | {
"login": "ayaka14732",
"id": 68557794,
"node_id": "MDQ6VXNlcjY4NTU3Nzk0",
"avatar_url": "https://avatars.githubusercontent.com/u/68557794?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ayaka14732",
"html_url": "https://github.com/ayaka14732",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey @ayaka14732 !\r\n\r\nNote that the original BART checkpoints use `bias` in Q, K, V layers.\r\n\r\n> This proves that Q, K and V are matrices instead of linear layers. Therefore, they should not contain biases.\r\n\r\nThe weights of linear layers are also just matrices or for that matter, every layer weights in... | 1,645 | 1,645 | 1,645 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.16.2
- Platform: Linux-5.11.0-1018-gcp-x86_64-with-glibc2.29
- Python version: 3.8.10
- 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.0
- JaxLib version: 0.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15829/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15829/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15828 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15828/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15828/comments | https://api.github.com/repos/huggingface/transformers/issues/15828/events | https://github.com/huggingface/transformers/pull/15828 | 1,150,271,699 | PR_kwDOCUB6oc4zdMhs | 15,828 | Re-enable doctests for the quicktour | {
"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,645 | 1,645 | 1,645 | COLLABORATOR | null | # What does this PR do?
This PR re-enables the doctests for the quicktour. It shouldn't be merged without its [companion PR](https://github.com/huggingface/doc-builder/pull/112) on the doc-builder side to properly recognize the new framework split comment and to remove the doctest flags on some lines.
I've adapte... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15828/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15828/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15828",
"html_url": "https://github.com/huggingface/transformers/pull/15828",
"diff_url": "https://github.com/huggingface/transformers/pull/15828.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15828.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15827 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15827/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15827/comments | https://api.github.com/repos/huggingface/transformers/issues/15827/events | https://github.com/huggingface/transformers/issues/15827 | 1,150,241,410 | I_kwDOCUB6oc5Ej0qC | 15,827 | Absence | {
"login": "hgeorgescu",
"id": 52789837,
"node_id": "MDQ6VXNlcjUyNzg5ODM3",
"avatar_url": "https://avatars.githubusercontent.com/u/52789837?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hgeorgescu",
"html_url": "https://github.com/hgeorgescu",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"model_name = \"Helsinki-NLP/opus-mt-en-roa\"\r\ntokenizer = MarianTokenizer.from_pretrained(model_name)\r\n Error:\"TypeError: 'NoneType' object is not callable\"\r\n",
"`MarianTokenizer` depends on `sentencepiece`. Make sure to install it before importing the tokenizer.\r\n`pip install sentencepiece` should res... | 1,645 | 1,649 | 1,649 | 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:
- Python version:
- PyTorch version (GPU?):
- Tensorflow version (GPU?):
- Using GPU in script... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15827/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15827/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15826 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15826/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15826/comments | https://api.github.com/repos/huggingface/transformers/issues/15826/events | https://github.com/huggingface/transformers/pull/15826 | 1,150,145,889 | PR_kwDOCUB6oc4zcyCD | 15,826 | Fix semantic segmentation pipeline test | {
"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._",
"I don't think we'll make another breaking change like this soon, so we're safe :-) ",
"@sgugger I am more thinking along the line of the resampling algorithm changes subtly in torch or different hardware has different floating erro... | 1,645 | 1,645 | 1,645 | COLLABORATOR | null | # What does this PR do?
This fixes the pipeline test for semantic segmentation, which now fails as a consequence of the revert in #15722 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15826/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15826/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15826",
"html_url": "https://github.com/huggingface/transformers/pull/15826",
"diff_url": "https://github.com/huggingface/transformers/pull/15826.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15826.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15825 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15825/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15825/comments | https://api.github.com/repos/huggingface/transformers/issues/15825/events | https://github.com/huggingface/transformers/pull/15825 | 1,149,786,181 | PR_kwDOCUB6oc4zbl-x | 15,825 | Framework split model report | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,645 | 1,645 | 1,645 | MEMBER | null | This updates the CI report for *models* to be split by framework.
From the following:

To the following:
 the encoder and decoder with pretrained weights from the hub, as follows:\r\n\r\n```\r\nfrom transformers import VisionEncoderDecoderModel\r\n\r\n# initialize the encoder from a pretrained ViT a... | 1,645 | 1,690 | 1,671 | NONE | null | I am trying to use TrOCR for recognizing Urdu text from image. For feature extractor, I am using DeiT and bert-base-multilingual-cased as decoder. I can't figure out what will be the requirements if I want to fine tune pre-trained TrOCR model but with decoder of multilingual cased. I've followed https://github.com/Niel... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15823/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15823/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15822 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15822/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15822/comments | https://api.github.com/repos/huggingface/transformers/issues/15822/events | https://github.com/huggingface/transformers/pull/15822 | 1,149,591,617 | PR_kwDOCUB6oc4za80d | 15,822 | [TFXLNet] Correct tf xlnet generate | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,645 | 1,645 | 1,645 | 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/15822/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15822/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15822",
"html_url": "https://github.com/huggingface/transformers/pull/15822",
"diff_url": "https://github.com/huggingface/transformers/pull/15822.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15822.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15821 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15821/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15821/comments | https://api.github.com/repos/huggingface/transformers/issues/15821/events | https://github.com/huggingface/transformers/issues/15821 | 1,149,521,033 | I_kwDOCUB6oc5EhEyJ | 15,821 | addeing tokens to tokenizer for training and inference worsens prediction immensely | {
"login": "jheinecke",
"id": 26959109,
"node_id": "MDQ6VXNlcjI2OTU5MTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/26959109?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jheinecke",
"html_url": "https://github.com/jheinecke",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"To clarify me question: I thought (possibly erroneously) that the new tokens will have random vectors which will be \"learned\" during the finetuning. If this is not the case, I have my answer ...",
"Hey @jheinecke. The best place to ask this question would be the [forum](https://discuss.huggingface.co/). We use... | 1,645 | 1,645 | 1,645 | NONE | null | I use the huggingface Trainer class to finetune a mT5 model. Since my data (AMR graphs) contains mayn tokens like `:ARG0`, `:op2` or `:name`, which are generally split into wordpieces I added those 219 tokens to the tokenizer with
```
from transformers import MT5ForConditionalGeneration, MT5Tokenizer
tokenizer = ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15821/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15821/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15820 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15820/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15820/comments | https://api.github.com/repos/huggingface/transformers/issues/15820/events | https://github.com/huggingface/transformers/pull/15820 | 1,149,472,454 | PR_kwDOCUB6oc4zajka | 15,820 | fix megatron bert convert state dict naming | {
"login": "Codle",
"id": 22362311,
"node_id": "MDQ6VXNlcjIyMzYyMzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/22362311?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Codle",
"html_url": "https://github.com/Codle",
"followers_url": "https://api.github.com/users/Codle/follow... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15820). 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,645 | 1,650 | 1,650 | 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/15820/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15820/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15820",
"html_url": "https://github.com/huggingface/transformers/pull/15820",
"diff_url": "https://github.com/huggingface/transformers/pull/15820.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15820.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15819 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15819/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15819/comments | https://api.github.com/repos/huggingface/transformers/issues/15819/events | https://github.com/huggingface/transformers/issues/15819 | 1,149,461,482 | I_kwDOCUB6oc5Eg2Pq | 15,819 | How to enable multi-heads outputs in segformer? | {
"login": "JunMa11",
"id": 19947331,
"node_id": "MDQ6VXNlcjE5OTQ3MzMx",
"avatar_url": "https://avatars.githubusercontent.com/u/19947331?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JunMa11",
"html_url": "https://github.com/JunMa11",
"followers_url": "https://api.github.com/users/JunMa1... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nThanks for your interest in SegFormer! Here's how you can easily create a SegFormer with custom loss:\r\n\r\n```\r\nimport transformers import SegformerPreTrainedModel, SegformerForSemanticSegmentation\r\nfrom transformers.modeling_outputs import SemanticSegmentationModelOutput\r\nimport torch.nn as nn\... | 1,645 | 1,647 | 1,647 | CONTRIBUTOR | null | Dear all,
Thanks for the awesome work:)
I was wondering how to enable segformer to output two maps? E.g., one map for multi-class labels (default) and the other map for distance map

https:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15819/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15819/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15818 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15818/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15818/comments | https://api.github.com/repos/huggingface/transformers/issues/15818/events | https://github.com/huggingface/transformers/pull/15818 | 1,149,255,807 | PR_kwDOCUB6oc4zZ1WY | 15,818 | [Unispeech] Fix slow tests | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,645 | 1,646 | 1,645 | 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/15818/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15818/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15818",
"html_url": "https://github.com/huggingface/transformers/pull/15818",
"diff_url": "https://github.com/huggingface/transformers/pull/15818.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15818.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15817 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15817/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15817/comments | https://api.github.com/repos/huggingface/transformers/issues/15817/events | https://github.com/huggingface/transformers/pull/15817 | 1,149,208,459 | PR_kwDOCUB6oc4zZrQJ | 15,817 | Add ONNX Runtime quantization for text classification notebook | {
"login": "echarlaix",
"id": 80481427,
"node_id": "MDQ6VXNlcjgwNDgxNDI3",
"avatar_url": "https://avatars.githubusercontent.com/u/80481427?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/echarlaix",
"html_url": "https://github.com/echarlaix",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,645 | 1,649 | 1,645 | COLLABORATOR | null | Adds link to the notebook showing how to quantize a model with ONNX Runtime for text classification tasks. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15817/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15817/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15817",
"html_url": "https://github.com/huggingface/transformers/pull/15817",
"diff_url": "https://github.com/huggingface/transformers/pull/15817.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15817.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15816 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15816/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15816/comments | https://api.github.com/repos/huggingface/transformers/issues/15816/events | https://github.com/huggingface/transformers/issues/15816 | 1,149,181,130 | I_kwDOCUB6oc5EfxzK | 15,816 | Return entities extracted from the raw input for TokenClassificationPipeline | {
"login": "tkon3",
"id": 29442635,
"node_id": "MDQ6VXNlcjI5NDQyNjM1",
"avatar_url": "https://avatars.githubusercontent.com/u/29442635?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tkon3",
"html_url": "https://github.com/tkon3",
"followers_url": "https://api.github.com/users/tkon3/follow... | [] | closed | false | null | [] | [
"I am in favor of adding a new key `text` for this.\r\n\r\n- That does not break BC\r\n- `text` is already used in other places (like `ASR Pipeline`)\r\n\r\nThe reason to add this is for users that might not be easily able to capture from the original sentence:\r\n\r\n```python\r\nfrom i, tokens in enumerate(pipe(d... | 1,645 | 1,669 | 1,649 | NONE | null | # 🚀 Feature request
Allow TokenClassificationPipeline to return entities extracted from the raw input.
## Motivation
Pretokenization (pre_tokenizer) can affect the "word" returned by the TokenClassificationPipeline. In this case `entity["word"] != sentence[entity["start"]:entity["end"]]` (see #15785):
```... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15816/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15816/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15815 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15815/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15815/comments | https://api.github.com/repos/huggingface/transformers/issues/15815/events | https://github.com/huggingface/transformers/pull/15815 | 1,149,178,598 | PR_kwDOCUB6oc4zZk6g | 15,815 | [Barthez Tokenizer] Fix saving | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,645 | 1,645 | 1,645 | 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/15815/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15815/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15815",
"html_url": "https://github.com/huggingface/transformers/pull/15815",
"diff_url": "https://github.com/huggingface/transformers/pull/15815.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15815.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15814 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15814/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15814/comments | https://api.github.com/repos/huggingface/transformers/issues/15814/events | https://github.com/huggingface/transformers/pull/15814 | 1,148,970,916 | PR_kwDOCUB6oc4zY5h8 | 15,814 | Fix from_pretrained with default base_model_prefix | {
"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._",
"Ah yeah that makes sense! Thanks a lot!"
] | 1,645 | 1,645 | 1,645 | COLLABORATOR | null | # What does this PR do?
There is a subtle bug in `from_pretrained` that was discovered by @NielsRogge with the Enformer model. Basically, `from_pretrained` will silently not load anything when a subclass does not define `base_model_prefix`. This is because the defaults is left at `""` which then:
- sets `has_prefix... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15814/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15814/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15814",
"html_url": "https://github.com/huggingface/transformers/pull/15814",
"diff_url": "https://github.com/huggingface/transformers/pull/15814.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15814.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15813 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15813/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15813/comments | https://api.github.com/repos/huggingface/transformers/issues/15813/events | https://github.com/huggingface/transformers/issues/15813 | 1,148,962,454 | I_kwDOCUB6oc5Ee8aW | 15,813 | Add OFA to transformers | {
"login": "JustinLin610",
"id": 27664428,
"node_id": "MDQ6VXNlcjI3NjY0NDI4",
"avatar_url": "https://avatars.githubusercontent.com/u/27664428?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JustinLin610",
"html_url": "https://github.com/JustinLin610",
"followers_url": "https://api.github.c... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | {
"login": "gchhablani",
"id": 29076344,
"node_id": "MDQ6VXNlcjI5MDc2MzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/29076344?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gchhablani",
"html_url": "https://github.com/gchhablani",
"followers_url": "https://api.github.com/use... | [
{
"login": "gchhablani",
"id": 29076344,
"node_id": "MDQ6VXNlcjI5MDc2MzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/29076344?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gchhablani",
"html_url": "https://github.com/gchhablani",
"followers_url": "https:... | [
"cc @gchhablani you might find this interesting :-) ",
"@patil-suraj Yes! Definitely would love to take this up :)",
"Awesome! Happy to help you with this! Let me know if you have questions :) ",
"> Not sure if this is was a coordinated collaborative effort, but the OFA-Sys team seems to have made a prelimina... | 1,645 | 1,680 | null | CONTRIBUTOR | null | # 🌟 New model addition
We recently proposed OFA, a unified model for multimodal pretraining, which achieves multiple SoTAs on downstream tasks, including image captioning, text-to-image generation, referring expression comprehension, etc. We would like to implement OFA on transformers if it is possible.
## Model d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15813/reactions",
"total_count": 12,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 4,
"confused": 0,
"heart": 8,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15813/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15812 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15812/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15812/comments | https://api.github.com/repos/huggingface/transformers/issues/15812/events | https://github.com/huggingface/transformers/issues/15812 | 1,148,928,875 | I_kwDOCUB6oc5Ee0Nr | 15,812 | Evaluate on subset of evaluation dataset during training | {
"login": "marinone94",
"id": 32146733,
"node_id": "MDQ6VXNlcjMyMTQ2NzMz",
"avatar_url": "https://avatars.githubusercontent.com/u/32146733?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marinone94",
"html_url": "https://github.com/marinone94",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc @patrickvonplaten @anton-l ",
"Hey @marinone94, \r\n\r\nThanks for your issue! Do you think the https://github.com/huggingface/transformers/blob/b7e292aebdb638e2238cd9febf8c09253195fb5d/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py#L181 option is not enough here?",
"Hej @patrickvonplaten... | 1,645 | 1,696 | 1,649 | NONE | null | # 🚀 Feature request
Allow evaluating the model on a random subset of the evaluation dataset at each evaluation step during training.
## Motivation
While participating in the Robust Speech Recognition Challenge in January / February 2022, I noticed that evaluating the model on the whole evaluation dataset incr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15812/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15812/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15811 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15811/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15811/comments | https://api.github.com/repos/huggingface/transformers/issues/15811/events | https://github.com/huggingface/transformers/pull/15811 | 1,148,828,625 | PR_kwDOCUB6oc4zYbpO | 15,811 | update world_size and process_index for SMP | {
"login": "cavdard",
"id": 44590949,
"node_id": "MDQ6VXNlcjQ0NTkwOTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/44590949?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cavdard",
"html_url": "https://github.com/cavdard",
"followers_url": "https://api.github.com/users/cavdar... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15811). All of your documentation changes will be reflected on that endpoint.",
"Prescaled batch is a new construct in SMP. SMP does tensor parallelism within a DP group. What this means is that it shuffles around the sampl... | 1,645 | 1,650 | 1,650 | CONTRIBUTOR | null |
This PR updates world_size and process_index for SMP when prescaled_batch is True/False. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15811/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15811/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15811",
"html_url": "https://github.com/huggingface/transformers/pull/15811",
"diff_url": "https://github.com/huggingface/transformers/pull/15811.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15811.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15810 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15810/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15810/comments | https://api.github.com/repos/huggingface/transformers/issues/15810/events | https://github.com/huggingface/transformers/issues/15810 | 1,148,806,627 | I_kwDOCUB6oc5EeWXj | 15,810 | repeat tokenization | {
"login": "calderma",
"id": 18285670,
"node_id": "MDQ6VXNlcjE4Mjg1Njcw",
"avatar_url": "https://avatars.githubusercontent.com/u/18285670?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/calderma",
"html_url": "https://github.com/calderma",
"followers_url": "https://api.github.com/users/cal... | [] | 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,645 | 1,706 | 1,649 | NONE | null | Hello, when using the example script run_clm.py in examples/pytorch/language-modeling/ with distributed training it seems to repeat the tokenization for each GPU. The messages “Running tokenizer on dataset” and “Grouping texts in chunks of {block_size}” repeat over and over. This does not happen when running on a singl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15810/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15810/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15809 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15809/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15809/comments | https://api.github.com/repos/huggingface/transformers/issues/15809/events | https://github.com/huggingface/transformers/pull/15809 | 1,148,739,012 | PR_kwDOCUB6oc4zYJSR | 15,809 | Update distributed sampler for smp | {
"login": "cavdard",
"id": 44590949,
"node_id": "MDQ6VXNlcjQ0NTkwOTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/44590949?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cavdard",
"html_url": "https://github.com/cavdard",
"followers_url": "https://api.github.com/users/cavdar... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15809). All of your documentation changes will be reflected on that endpoint.",
" Please close this as it's replaced by PR https://github.com/huggingface/transformers/pull/15811 ",
"This issue has been automatically marke... | 1,645 | 1,650 | 1,650 | CONTRIBUTOR | null | # What does this PR do?
This PR updates world_size and process_index for SMP when prescaled_batch is True/False.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15809/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15809/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15809",
"html_url": "https://github.com/huggingface/transformers/pull/15809",
"diff_url": "https://github.com/huggingface/transformers/pull/15809.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15809.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15808 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15808/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15808/comments | https://api.github.com/repos/huggingface/transformers/issues/15808/events | https://github.com/huggingface/transformers/pull/15808 | 1,148,723,014 | PR_kwDOCUB6oc4zYF8r | 15,808 | Audio/vision task guides | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15808). All of your documentation changes will be reflected on that endpoint."
] | 1,645 | 1,647 | 1,647 | MEMBER | null | This PR adds fine-tuning guides for image classification, audio classification, and ASR since the APIs for these tasks are stable. Some general notes:
- The audio guides don't have TensorFlow sections yet.
- For image classification, there is a difference between the PyTorch and TensorFlow preprocessing methods. Th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15808/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15808/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15808",
"html_url": "https://github.com/huggingface/transformers/pull/15808",
"diff_url": "https://github.com/huggingface/transformers/pull/15808.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15808.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15807 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15807/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15807/comments | https://api.github.com/repos/huggingface/transformers/issues/15807/events | https://github.com/huggingface/transformers/pull/15807 | 1,148,652,130 | PR_kwDOCUB6oc4zX3QG | 15,807 | Fixes the "push" CI run | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,645 | 1,645 | 1,645 | MEMBER | null | Introduce the old notification service to be used by the "push" CI which has not been updated. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15807/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15807/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15807",
"html_url": "https://github.com/huggingface/transformers/pull/15807",
"diff_url": "https://github.com/huggingface/transformers/pull/15807.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15807.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15806 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15806/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15806/comments | https://api.github.com/repos/huggingface/transformers/issues/15806/events | https://github.com/huggingface/transformers/pull/15806 | 1,148,569,883 | PR_kwDOCUB6oc4zXldQ | 15,806 | Fix model templates | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,645 | 1,645 | 1,645 | MEMBER | null | This fixes the model templates by first creating the testing directory in which the testing files will be moved. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15806/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15806/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15806",
"html_url": "https://github.com/huggingface/transformers/pull/15806",
"diff_url": "https://github.com/huggingface/transformers/pull/15806.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15806.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15805 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15805/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15805/comments | https://api.github.com/repos/huggingface/transformers/issues/15805/events | https://github.com/huggingface/transformers/pull/15805 | 1,148,568,858 | PR_kwDOCUB6oc4zXlPs | 15,805 | Fix add-new-model-like when old model checkpoint is not found | {
"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,645 | 1,645 | 1,645 | COLLABORATOR | null | # What does this PR do?
This PR fixes the add-new-model-like command when the old model checkpoint can't be read in its modeling file (because there is no `_CHECKPOINT_FOR_DOC` basically). In this case, the user will be asked to provide it to avoid random failures like when trying to build a new model from rag. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15805/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15805/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15805",
"html_url": "https://github.com/huggingface/transformers/pull/15805",
"diff_url": "https://github.com/huggingface/transformers/pull/15805.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15805.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15804 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15804/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15804/comments | https://api.github.com/repos/huggingface/transformers/issues/15804/events | https://github.com/huggingface/transformers/pull/15804 | 1,148,553,762 | PR_kwDOCUB6oc4zXiFi | 15,804 | update dp_rank to rdp_rank for opt_state_dict | {
"login": "cavdard",
"id": 44590949,
"node_id": "MDQ6VXNlcjQ0NTkwOTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/44590949?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cavdard",
"html_url": "https://github.com/cavdard",
"followers_url": "https://api.github.com/users/cavdar... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15804). All of your documentation changes will be reflected on that endpoint.",
"When only pipeline parallelism is used, dp_rank works. But with newer features of SageMaker model parallel library we support Tensor paralleli... | 1,645 | 1,650 | 1,650 | CONTRIBUTOR | null |
This PR fixes hang for SMP when calling state_dict().
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15804/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15804/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15804",
"html_url": "https://github.com/huggingface/transformers/pull/15804",
"diff_url": "https://github.com/huggingface/transformers/pull/15804.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15804.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15803 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15803/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15803/comments | https://api.github.com/repos/huggingface/transformers/issues/15803/events | https://github.com/huggingface/transformers/pull/15803 | 1,148,544,298 | PR_kwDOCUB6oc4zXgBw | 15,803 | Fix build_documentation CI | {
"login": "coyotte508",
"id": 342922,
"node_id": "MDQ6VXNlcjM0MjkyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/342922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/coyotte508",
"html_url": "https://github.com/coyotte508",
"followers_url": "https://api.github.com/users/c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,645 | 1,645 | 1,645 | MEMBER | null | # What does this PR do?
We add more memory to the html build step with `NODE_OPTIONS: --max-old-space-size=6656` in the env.
We also mark the CI as failure if the html generation fails, or the git push fails afterwards.
<!-- Remove if not applicable -->
Fixes # (issue)
## Before submitting
- [x] This ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15803/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15803/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15803",
"html_url": "https://github.com/huggingface/transformers/pull/15803",
"diff_url": "https://github.com/huggingface/transformers/pull/15803.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15803.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15802 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15802/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15802/comments | https://api.github.com/repos/huggingface/transformers/issues/15802/events | https://github.com/huggingface/transformers/pull/15802 | 1,148,525,139 | PR_kwDOCUB6oc4zXcGR | 15,802 | Test if github action stops running when doc fails | {
"login": "coyotte508",
"id": 342922,
"node_id": "MDQ6VXNlcjM0MjkyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/342922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/coyotte508",
"html_url": "https://github.com/coyotte508",
"followers_url": "https://api.github.com/users/c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,645 | 1,645 | 1,645 | 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/15802/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15802/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15802",
"html_url": "https://github.com/huggingface/transformers/pull/15802",
"diff_url": "https://github.com/huggingface/transformers/pull/15802.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15802.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15801 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15801/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15801/comments | https://api.github.com/repos/huggingface/transformers/issues/15801/events | https://github.com/huggingface/transformers/issues/15801 | 1,148,498,526 | I_kwDOCUB6oc5EdLJe | 15,801 | run_glue_no_trainer.py | {
"login": "backurs",
"id": 59131604,
"node_id": "MDQ6VXNlcjU5MTMxNjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/59131604?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/backurs",
"html_url": "https://github.com/backurs",
"followers_url": "https://api.github.com/users/backur... | [] | closed | false | null | [] | [
"Hi @backurs -- would you like to open a PR with the change? :)",
"Hi Joao,\nI get this error when trying to push my branch to the origin:\n[image: image.png]\nHow do I fix this problem?\nThanks,\nArturs\n\nOn Mon, Feb 28, 2022 at 5:38 AM Joao Gante ***@***.***> wrote:\n\n> Hi @backurs <https://github.com/backurs... | 1,645 | 1,649 | 1,649 | NONE | null | Line 428 in "text-classification/run_glue_no_trainer.py":
if step % args.gradient_accumulation_steps == 0 or step == len(train_dataloader) - 1:
replace it with:
if (step + 1) % args.gradient_accumulation_steps == 0 or step == len(train_dataloader) - 1: | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15801/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15801/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15800 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15800/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15800/comments | https://api.github.com/repos/huggingface/transformers/issues/15800/events | https://github.com/huggingface/transformers/pull/15800 | 1,148,495,759 | PR_kwDOCUB6oc4zXWC2 | 15,800 | Fix docs on master | {
"login": "coyotte508",
"id": 342922,
"node_id": "MDQ6VXNlcjM0MjkyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/342922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/coyotte508",
"html_url": "https://github.com/coyotte508",
"followers_url": "https://api.github.com/users/c... | [] | closed | false | null | [] | [] | 1,645 | 1,665 | 1,645 | 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/15800/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15800/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15800",
"html_url": "https://github.com/huggingface/transformers/pull/15800",
"diff_url": "https://github.com/huggingface/transformers/pull/15800.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15800.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15799 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15799/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15799/comments | https://api.github.com/repos/huggingface/transformers/issues/15799/events | https://github.com/huggingface/transformers/issues/15799 | 1,148,473,046 | I_kwDOCUB6oc5EdE7W | 15,799 | How to Use Transformers pipeline with multiple GPUs | {
"login": "vikramtharakan",
"id": 44689689,
"node_id": "MDQ6VXNlcjQ0Njg5Njg5",
"avatar_url": "https://avatars.githubusercontent.com/u/44689689?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vikramtharakan",
"html_url": "https://github.com/vikramtharakan",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"cc @Narsil ",
"Hi @vikramtharakan,\r\n\r\nCurrently no, it's not possible in the pipeline to do that.\r\nWe not ruling out putting it in at a later stage, but it's probably a very involved process, because there are many ways someone could want to use multiple GPUs for inference.\r\n- If the model fits a single ... | 1,645 | 1,672 | 1,649 | NONE | null | I'm using an tweaked version of the `uer/roberta-base-chinese-extractive-qa` model. While I know how to train using multiple GPUs, it is not clear how to use multiple GPUs when coming to this stage. Essentially this is what I have:
```
from transformers import AutoModelForQuestionAnswering, AutoTokenizer, pipeline
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15799/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15799/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15798 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15798/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15798/comments | https://api.github.com/repos/huggingface/transformers/issues/15798/events | https://github.com/huggingface/transformers/pull/15798 | 1,148,463,434 | PR_kwDOCUB6oc4zXPVA | 15,798 | Fix indent in doc-builder CI | {
"login": "coyotte508",
"id": 342922,
"node_id": "MDQ6VXNlcjM0MjkyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/342922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/coyotte508",
"html_url": "https://github.com/coyotte508",
"followers_url": "https://api.github.com/users/c... | [] | closed | false | null | [] | [] | 1,645 | 1,645 | 1,645 | MEMBER | null | # What does this PR do?
Fix the build documentation github action
Fixes # (issue)
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15798/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15798/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15798",
"html_url": "https://github.com/huggingface/transformers/pull/15798",
"diff_url": "https://github.com/huggingface/transformers/pull/15798.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15798.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15797 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15797/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15797/comments | https://api.github.com/repos/huggingface/transformers/issues/15797/events | https://github.com/huggingface/transformers/issues/15797 | 1,148,443,902 | I_kwDOCUB6oc5Ec9z- | 15,797 | Unable to load a pretrained model from disc using transformers api | {
"login": "suhaneshivam",
"id": 59939145,
"node_id": "MDQ6VXNlcjU5OTM5MTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/59939145?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/suhaneshivam",
"html_url": "https://github.com/suhaneshivam",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hey, could you share the information relative to your environment? Specifically the results of the `transformers-cli env` command.",
"Sure, this is what i got exactly while running the `transformers-cli env `\r\n```\r\nWARNING:tensorflow:From /home/centos/.local/lib/python3.6/site-packages/transformers/commands/... | 1,645 | 1,682 | 1,645 | NONE | null | I am trying to load a pretrained model from a checkpoint saved on my disc using Hugging face transformers library. Model is saved inside a directory `'new_tun_bert'`. Following is the directory tree of new_tun_bert.
```
.
├── config.json
├── pytorch_model.bin
└── vocab.txt
```
The code I used for loading the mod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15797/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15797/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15796 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15796/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15796/comments | https://api.github.com/repos/huggingface/transformers/issues/15796/events | https://github.com/huggingface/transformers/pull/15796 | 1,148,439,036 | PR_kwDOCUB6oc4zXKTD | 15,796 | Create optimizer after model creation for SMP | {
"login": "cavdard",
"id": 44590949,
"node_id": "MDQ6VXNlcjQ0NTkwOTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/44590949?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cavdard",
"html_url": "https://github.com/cavdard",
"followers_url": "https://api.github.com/users/cavdar... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15796). 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,645 | 1,650 | 1,650 | CONTRIBUTOR | null |
This PR enables optimizer creation after model creation which is a requirement for the newer version of SMP.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15796/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15796/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15796",
"html_url": "https://github.com/huggingface/transformers/pull/15796",
"diff_url": "https://github.com/huggingface/transformers/pull/15796.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15796.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15795 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15795/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15795/comments | https://api.github.com/repos/huggingface/transformers/issues/15795/events | https://github.com/huggingface/transformers/pull/15795 | 1,148,413,457 | PR_kwDOCUB6oc4zXFBO | 15,795 | Support PEP 563 for HfArgumentParser | {
"login": "function2-llx",
"id": 38486514,
"node_id": "MDQ6VXNlcjM4NDg2NTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/38486514?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/function2-llx",
"html_url": "https://github.com/function2-llx",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15795). All of your documentation changes will be reflected on that endpoint.",
"@LysandreJik Hello, would be great if you could help or ask someone to give any feedback on this, thanks!\r\nSeems #15951 updated the parser a... | 1,645 | 1,647 | 1,647 | CONTRIBUTOR | null | # What does this PR do?
Fixes #15739, support for [PEP 563](https://www.python.org/dev/peps/pep-0563/) is added, making it possible to write `from __future__ import annotations` in the file of dataclasses for `HfArgumentParser`. But this will not be available for Python with a version lower than 3.7, thus adding `fr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15795/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15795/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15795",
"html_url": "https://github.com/huggingface/transformers/pull/15795",
"diff_url": "https://github.com/huggingface/transformers/pull/15795.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15795.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15794 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15794/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15794/comments | https://api.github.com/repos/huggingface/transformers/issues/15794/events | https://github.com/huggingface/transformers/pull/15794 | 1,148,313,337 | PR_kwDOCUB6oc4zWwFZ | 15,794 | Html docs 4.16.2 | {
"login": "coyotte508",
"id": 342922,
"node_id": "MDQ6VXNlcjM0MjkyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/342922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/coyotte508",
"html_url": "https://github.com/coyotte508",
"followers_url": "https://api.github.com/users/c... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15794). All of your documentation changes will be reflected on that endpoint."
] | 1,645 | 1,665 | 1,645 | MEMBER | null | Use CI to rebuild 4.16.2 docs with HTML. Do not merge. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15794/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15794/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15794",
"html_url": "https://github.com/huggingface/transformers/pull/15794",
"diff_url": "https://github.com/huggingface/transformers/pull/15794.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15794.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15793 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15793/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15793/comments | https://api.github.com/repos/huggingface/transformers/issues/15793/events | https://github.com/huggingface/transformers/pull/15793 | 1,148,287,881 | PR_kwDOCUB6oc4zWqrh | 15,793 | TF generate refactor - Sample | {
"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_15793). All of your documentation changes will be reflected on that endpoint.",
"Looks good to me & thanks for cleaning up the type-hints, but we need tests here. Both for the `TFLogitsWarpers` and we should add at least on... | 1,645 | 1,646 | 1,646 | MEMBER | null | # What does this PR do?
This PR is step 3 of the `generate()` refactor plan (see https://github.com/huggingface/transformers/pull/15562) -- it refactors the sample case.
A few notes:
- `_generate_no_beam_search()` was no longer reachable, so it was removed;
- I've tested the changes against the example in `_gen... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15793/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15793/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15793",
"html_url": "https://github.com/huggingface/transformers/pull/15793",
"diff_url": "https://github.com/huggingface/transformers/pull/15793.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15793.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15792 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15792/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15792/comments | https://api.github.com/repos/huggingface/transformers/issues/15792/events | https://github.com/huggingface/transformers/pull/15792 | 1,148,241,939 | PR_kwDOCUB6oc4zWhCE | 15,792 | Adding the option to return_timestamps on pure CTC ASR models. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@patrickvonplaten , it seems `math.prod` is a Python 3.8 function, so the CI failed: https://app.circleci.com/pipelines/github/huggingface/transformers/34931/workflows/cf399730-6207-41bb-8c19-76f4b2036fe7/jobs/375024\r\n\r\nI changed... | 1,645 | 1,645 | 1,645 | CONTRIBUTOR | null | # What does this PR do?
Adding the option to return_timestamps on pure CTC ASR models.
This works by using the `output_char_offsets` during the decoding and
simply recovering the actual offset in seconds instead of number of tokens.
Works only on pure CTC right now.
Thanks @patrickvonplaten for the earlie... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15792/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15792/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15792",
"html_url": "https://github.com/huggingface/transformers/pull/15792",
"diff_url": "https://github.com/huggingface/transformers/pull/15792.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15792.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15791 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15791/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15791/comments | https://api.github.com/repos/huggingface/transformers/issues/15791/events | https://github.com/huggingface/transformers/pull/15791 | 1,148,129,213 | PR_kwDOCUB6oc4zWJR0 | 15,791 | [ViLT] Add link to notebooks | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15791). All of your documentation changes will be reflected on that endpoint.",
"I think we should consolidate all the notebooks linked from the documentation inside the [notebooks repository](https://github.com/huggingface... | 1,645 | 1,646 | 1,646 | CONTRIBUTOR | null | # What does this PR do?
Add link to my ViLT notebooks in the docs. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15791/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15791/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15791",
"html_url": "https://github.com/huggingface/transformers/pull/15791",
"diff_url": "https://github.com/huggingface/transformers/pull/15791.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15791.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15790 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15790/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15790/comments | https://api.github.com/repos/huggingface/transformers/issues/15790/events | https://github.com/huggingface/transformers/pull/15790 | 1,148,076,418 | PR_kwDOCUB6oc4zV-JJ | 15,790 | [ViLT] Fix checkpoint url in config | {
"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,645 | 1,645 | 1,645 | MEMBER | null | # What does this PR do?
Fix the checkpoint name in config and add checkpoint in `VILT_PRETRAINED_CONFIG_ARCHIVE_MAP` `dict` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15790/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15790/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15790",
"html_url": "https://github.com/huggingface/transformers/pull/15790",
"diff_url": "https://github.com/huggingface/transformers/pull/15790.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15790.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15789 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15789/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15789/comments | https://api.github.com/repos/huggingface/transformers/issues/15789/events | https://github.com/huggingface/transformers/pull/15789 | 1,148,061,534 | PR_kwDOCUB6oc4zV69m | 15,789 | [CLIP] fix gradient checkpointing | {
"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,645 | 1,645 | 1,645 | MEMBER | null | # What does this PR do?
Fix gradient checkpointing in CLIP.
Fixes #15783 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15789/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15789/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15789",
"html_url": "https://github.com/huggingface/transformers/pull/15789",
"diff_url": "https://github.com/huggingface/transformers/pull/15789.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15789.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15788 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15788/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15788/comments | https://api.github.com/repos/huggingface/transformers/issues/15788/events | https://github.com/huggingface/transformers/issues/15788 | 1,148,040,672 | I_kwDOCUB6oc5EbbXg | 15,788 | How can I create a longformer model without position embedding? | {
"login": "zjjJacinthe",
"id": 48045475,
"node_id": "MDQ6VXNlcjQ4MDQ1NDc1",
"avatar_url": "https://avatars.githubusercontent.com/u/48045475?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zjjJacinthe",
"html_url": "https://github.com/zjjJacinthe",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks!",
"Ok! Thanks!"
] | 1,645 | 1,645 | 1,645 | NONE | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15788/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15788/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15787 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15787/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15787/comments | https://api.github.com/repos/huggingface/transformers/issues/15787/events | https://github.com/huggingface/transformers/issues/15787 | 1,148,037,118 | I_kwDOCUB6oc5Ebaf- | 15,787 | A question about BertForSequenceClassification | {
"login": "zxk19981227",
"id": 40291547,
"node_id": "MDQ6VXNlcjQwMjkxNTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/40291547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zxk19981227",
"html_url": "https://github.com/zxk19981227",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks!",
"Ok,thank your"
] | 1,645 | 1,645 | 1,645 | NONE | null | In my experiments, I trained a simple sentiment classification model on the SST dataset. But it is interest that it is hardly for the model to converge with BertForSequenceClassification but could converge easily with the simple BertModel's [CLS] +Linear. Did any one else met this problem and could explain the problem ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15787/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15787/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15786 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15786/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15786/comments | https://api.github.com/repos/huggingface/transformers/issues/15786/events | https://github.com/huggingface/transformers/pull/15786 | 1,148,032,976 | PR_kwDOCUB6oc4zV1A2 | 15,786 | TF XLA greedy generation | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15786). All of your documentation changes will be reflected on that endpoint.",
"Outputs now correctly match a manual loop, up to minor float32 errors. Code has been simplified with the addition of direct calls to XLA, and ... | 1,645 | 1,647 | 1,647 | MEMBER | null | This is a first attempt at refactoring greedy generation in TF to use XLA. It has a couple of main problems still:
- Very hardcoded for GPT-2 right now
- No stopping based on EOS tokens yet (EDIT: Fixed!)
- Some really ugly array update hackery caused by the lack of tools like `dynamic_update_slice` (EDIT: Fixed!)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15786/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/15786/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15786",
"html_url": "https://github.com/huggingface/transformers/pull/15786",
"diff_url": "https://github.com/huggingface/transformers/pull/15786.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15786.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15785 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15785/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15785/comments | https://api.github.com/repos/huggingface/transformers/issues/15785/events | https://github.com/huggingface/transformers/issues/15785 | 1,147,992,535 | I_kwDOCUB6oc5EbPnX | 15,785 | Handling preprocessing with token-classification pipeline | {
"login": "tkon3",
"id": 29442635,
"node_id": "MDQ6VXNlcjI5NDQyNjM1",
"avatar_url": "https://avatars.githubusercontent.com/u/29442635?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tkon3",
"html_url": "https://github.com/tkon3",
"followers_url": "https://api.github.com/users/tkon3/follow... | [] | closed | false | null | [] | [
"cc @SaulLu @Narsil ",
"Hi @tkon3 ,\r\n\r\nNormally this should be taken care of directly by the pre_tokenizer.\r\nIt seems `camembert-base` uses `WhitespaceSplit()` and `Metaspace` and you merely want to add `Punctuation`.\r\n\r\nDoing something like\r\n\r\n```python\r\nfrom transformers import AutoTokenizer\r\n... | 1,645 | 1,648 | 1,648 | NONE | null | Hi,
Token classification tasks (e.g NER) usually rely on splitted inputs (a list of words). The tokenizer is then used with is_split_into_words=True argument during training.
However the pipeline for token-classification does not handle this preprocessing and tokenizes the raw input.
This can lead to different pre... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15785/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/15785/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15784 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15784/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15784/comments | https://api.github.com/repos/huggingface/transformers/issues/15784/events | https://github.com/huggingface/transformers/issues/15784 | 1,147,929,690 | I_kwDOCUB6oc5EbARa | 15,784 | Trainer is not so compatible with customized optimizer | {
"login": "allanj",
"id": 3351187,
"node_id": "MDQ6VXNlcjMzNTExODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3351187?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/allanj",
"html_url": "https://github.com/allanj",
"followers_url": "https://api.github.com/users/allanj/foll... | [] | closed | false | null | [] | [
"You can't pass along your own optimizer with the Fairscale or DeepSpeed integration indeed. As far as I can tell, your workaround is the best way to do it.",
"I see. Thanks. I guess that it would be good to throw an exception/error if \"sharded_ddp or deepspeed is enable\" and \"customized optimizer is passed in... | 1,645 | 1,648 | 1,648 | 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.56.bsk.6-amd64-x86_64-with-debian-10.11
- Python version: 3.7.3
- PyTorch versi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15784/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15784/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15783 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15783/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15783/comments | https://api.github.com/repos/huggingface/transformers/issues/15783/events | https://github.com/huggingface/transformers/issues/15783 | 1,147,918,243 | I_kwDOCUB6oc5Ea9ej | 15,783 | [Bug] Gradient Checkpointing In CLIP Model | {
"login": "fuliucansheng",
"id": 13607229,
"node_id": "MDQ6VXNlcjEzNjA3MjI5",
"avatar_url": "https://avatars.githubusercontent.com/u/13607229?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fuliucansheng",
"html_url": "https://github.com/fuliucansheng",
"followers_url": "https://api.githu... | [] | closed | false | {
"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/... | [
{
"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": "htt... | [
"Great catch! Fix is here https://github.com/huggingface/transformers/pull/15789"
] | 1,645 | 1,645 | 1,645 | NONE | null | https://github.com/huggingface/transformers/blob/master/src/transformers/models/clip/modeling_clip.py#L575
Hi, there,
I believe `hidden_states = layer_outputs[0]` should be in the for loop. I try to enable the gradient checkpointing for the clip model but find this bug. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15783/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15783/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15782 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15782/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15782/comments | https://api.github.com/repos/huggingface/transformers/issues/15782/events | https://github.com/huggingface/transformers/pull/15782 | 1,147,915,723 | PR_kwDOCUB6oc4zVcTz | 15,782 | Supporting Merges.txt files than contain an endline. (`hf-internal-testing/tiny-clip` for instance) | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,645 | 1,645 | 1,645 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this with a d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15782/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15782/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15782",
"html_url": "https://github.com/huggingface/transformers/pull/15782",
"diff_url": "https://github.com/huggingface/transformers/pull/15782.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15782.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15781 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15781/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15781/comments | https://api.github.com/repos/huggingface/transformers/issues/15781/events | https://github.com/huggingface/transformers/pull/15781 | 1,147,800,838 | PR_kwDOCUB6oc4zVEJY | 15,781 | Add Semantic Segmentation for ConvNext | {
"login": "tanaymeh",
"id": 26519539,
"node_id": "MDQ6VXNlcjI2NTE5NTM5",
"avatar_url": "https://avatars.githubusercontent.com/u/26519539?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tanaymeh",
"html_url": "https://github.com/tanaymeh",
"followers_url": "https://api.github.com/users/tan... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15781). 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_15781). All of your documentation changes will be re... | 1,645 | 1,656 | 1,656 | CONTRIBUTOR | null | # What does this PR do?
This PR adds Semantic Segmentation to ConvNext model, original code [here](https://github.com/facebookresearch/ConvNeXt/tree/main/semantic_segmentation).
## Who can review?
@NielsRogge
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15781/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15781/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15781",
"html_url": "https://github.com/huggingface/transformers/pull/15781",
"diff_url": "https://github.com/huggingface/transformers/pull/15781.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15781.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15780 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15780/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15780/comments | https://api.github.com/repos/huggingface/transformers/issues/15780/events | https://github.com/huggingface/transformers/issues/15780 | 1,147,683,310 | I_kwDOCUB6oc5EaEHu | 15,780 | how to save a model with additional layers, so it can be loaded using .from_pretrained()? | {
"login": "christianjoun",
"id": 7098878,
"node_id": "MDQ6VXNlcjcwOTg4Nzg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7098878?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/christianjoun",
"html_url": "https://github.com/christianjoun",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"Hi! For questions like this, it would be best to ask this on the [forum](https://discuss.huggingface.co/). We use issues for bug reports and feature requests. Thanks!\r\n\r\nTo answer your question: The [sharing custom model guide](https://huggingface.co/docs/transformers/master/en/custom_models) might help with t... | 1,645 | 1,670 | 1,648 | NONE | null | ## Environment info
- `transformers` version: 2.3.0
- Platform: Linux-4.15.0-135-generic-x86_64-with-glibc2.27
- Python version: 3.8.12
- PyTorch version (GPU?): 1.8.1+cu111 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: YES (T4 TESLA)
- Using distributed or parallel set-up in ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15780/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15780/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15779 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15779/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15779/comments | https://api.github.com/repos/huggingface/transformers/issues/15779/events | https://github.com/huggingface/transformers/issues/15779 | 1,147,682,827 | I_kwDOCUB6oc5EaEAL | 15,779 | LMV2Processor Decoder string not matching with original string | {
"login": "purnasai",
"id": 25660247,
"node_id": "MDQ6VXNlcjI1NjYwMjQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/25660247?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/purnasai",
"html_url": "https://github.com/purnasai",
"followers_url": "https://api.github.com/users/pur... | [] | 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,645 | 1,651 | 1,651 | NONE | null | ## Environment info
- `transformers` version: 4.11.0
- Platform: Linux-5.4.0-1063-aws-x86_64-with-debian-buster-sid
- Python version: 3.7.10
- PyTorch version (GPU?): 1.8.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?[/GPU]()?[/TPU]()?): not installed (NA)
- Jax version: not instal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15779/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15779/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15778 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15778/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15778/comments | https://api.github.com/repos/huggingface/transformers/issues/15778/events | https://github.com/huggingface/transformers/pull/15778 | 1,147,667,549 | PR_kwDOCUB6oc4zUwuJ | 15,778 | Tfperceiver | {
"login": "elk-cloner",
"id": 5828101,
"node_id": "MDQ6VXNlcjU4MjgxMDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/5828101?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/elk-cloner",
"html_url": "https://github.com/elk-cloner",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15778). All of your documentation changes will be reflected on that endpoint.",
"cc @NielsRogge ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs t... | 1,645 | 1,650 | 1,650 | 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/15778/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15778/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15778",
"html_url": "https://github.com/huggingface/transformers/pull/15778",
"diff_url": "https://github.com/huggingface/transformers/pull/15778.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15778.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15777 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15777/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15777/comments | https://api.github.com/repos/huggingface/transformers/issues/15777/events | https://github.com/huggingface/transformers/pull/15777 | 1,147,549,471 | PR_kwDOCUB6oc4zUYKm | 15,777 | infer_framework_load_model function docs typo and grammar fixes | {
"login": "jhwohlgemuth",
"id": 6383605,
"node_id": "MDQ6VXNlcjYzODM2MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6383605?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jhwohlgemuth",
"html_url": "https://github.com/jhwohlgemuth",
"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_15777). 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,645 | 1,650 | 1,650 | NONE | null | # What does this PR do?
- Fix typo because words should not be mispelled
- Fix grammar to more properly describe the code
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.com/h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15777/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15777/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15777",
"html_url": "https://github.com/huggingface/transformers/pull/15777",
"diff_url": "https://github.com/huggingface/transformers/pull/15777.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15777.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15776 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15776/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15776/comments | https://api.github.com/repos/huggingface/transformers/issues/15776/events | https://github.com/huggingface/transformers/pull/15776 | 1,147,510,734 | PR_kwDOCUB6oc4zUP40 | 15,776 | Fix dummy_inputs() to dummy_inputs in symbolic_trace doc string | {
"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,645 | 1,645 | 1,645 | 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/15776/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15776/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15776",
"html_url": "https://github.com/huggingface/transformers/pull/15776",
"diff_url": "https://github.com/huggingface/transformers/pull/15776.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15776.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15775 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15775/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15775/comments | https://api.github.com/repos/huggingface/transformers/issues/15775/events | https://github.com/huggingface/transformers/pull/15775 | 1,147,459,596 | PR_kwDOCUB6oc4zUFIW | 15,775 | 🚨 🚨 🚨 Fix Issue 15003: SentencePiece Tokenizers Not Adding Special Tokens in `convert_tokens_to_string` | {
"login": "beneyal",
"id": 3891274,
"node_id": "MDQ6VXNlcjM4OTEyNzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/3891274?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/beneyal",
"html_url": "https://github.com/beneyal",
"followers_url": "https://api.github.com/users/beneyal/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15775). All of your documentation changes will be reflected on that endpoint.",
"_The documentation is not available anymore as the PR was closed or merged._",
"This issue has been automatically marked as stale because it... | 1,645 | 1,667 | 1,667 | CONTRIBUTOR | null | Hello! 👋
This PR fixes issue #15003 and is also related to issue #11716.
First, I've expanded the `test_sentencepiece_tokenize_and_convert_tokens_to_string` test in `test_tokenization_common.py` which, in addition to checking a round-trip from string to tokens and back, performs a check whether the tokens corre... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15775/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15775/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15775",
"html_url": "https://github.com/huggingface/transformers/pull/15775",
"diff_url": "https://github.com/huggingface/transformers/pull/15775.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15775.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15774 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15774/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15774/comments | https://api.github.com/repos/huggingface/transformers/issues/15774/events | https://github.com/huggingface/transformers/pull/15774 | 1,147,350,560 | PR_kwDOCUB6oc4zTuM2 | 15,774 | Fix tf.concatenate + test past_key_values for TF models | {
"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._",
"> This all looks good to me, thanks a lot for fixing! Pinging @patrickvonplaten for the `past_key_values` change, to make sure it's all okay.\r\n> \r\n> Re-the test. Is BERT the only test file to adapt?\r\n\r\nHi, I don't understand ... | 1,645 | 1,645 | 1,645 | COLLABORATOR | null | # What does this PR do?
- Fix `tf.concatenate` (#15477)
- it should be `tf.concat`
- Add testing about `past_key_values` for TF models
Currently, only added to
- `testing_modeling_tf_bert.py`
- TF model testing template
The changes include:
- add tests for: causal lm **base model** / c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15774/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15774/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15774",
"html_url": "https://github.com/huggingface/transformers/pull/15774",
"diff_url": "https://github.com/huggingface/transformers/pull/15774.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15774.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15773 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15773/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15773/comments | https://api.github.com/repos/huggingface/transformers/issues/15773/events | https://github.com/huggingface/transformers/pull/15773 | 1,147,344,749 | PR_kwDOCUB6oc4zTs_v | 15,773 | [Community] Add fairseq FastSpeech2 | {
"login": "jaketae",
"id": 25360440,
"node_id": "MDQ6VXNlcjI1MzYwNDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/25360440?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jaketae",
"html_url": "https://github.com/jaketae",
"followers_url": "https://api.github.com/users/jaketa... | [
{
"id": 2392046359,
"node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue",
"name": "Good Second Issue",
"color": "dd935a",
"default": false,
"description": "Issues that are more difficult to do than \"Good First... | open | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15773). All of your documentation changes will be reflected on that endpoint.",
"Here is a (tried-to-keep-short-but-long) update on this PR, summarizing some of the things discussed with @anton-l for public visibility.\r\n\... | 1,645 | 1,697 | null | CONTRIBUTOR | null | # What does this PR do?
This PR adds FastSpeech2, a transformer-based text-to-speech model. Fixes #15166.
## Motivation
While HF transformers has great support for ASR and other audio processing tasks, there is not much support for text-to-speech. There are many transformer-based TTS models that would be great... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15773/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/15773/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15773",
"html_url": "https://github.com/huggingface/transformers/pull/15773",
"diff_url": "https://github.com/huggingface/transformers/pull/15773.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15773.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15772 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15772/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15772/comments | https://api.github.com/repos/huggingface/transformers/issues/15772/events | https://github.com/huggingface/transformers/issues/15772 | 1,147,188,063 | I_kwDOCUB6oc5EYLNf | 15,772 | Cuda error when using T5 with the new Apex FusedRMSNorm | {
"login": "dblakely",
"id": 20539855,
"node_id": "MDQ6VXNlcjIwNTM5ODU1",
"avatar_url": "https://avatars.githubusercontent.com/u/20539855?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dblakely",
"html_url": "https://github.com/dblakely",
"followers_url": "https://api.github.com/users/dbl... | [] | closed | false | {
"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... | [
{
"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... | [
"thank you for the report, @dblakely \r\n\r\nI tested your code and it works on my rtx-3090 / pt-1.10\r\n\r\nI wonder if you need to set device, with the older pytorch? Does this work?\r\n\r\n```\r\nimport transformers\r\nimport os\r\nimport torch\r\nfrom transformers import T5ForConditionalGeneration, T5Tokenizer\... | 1,645 | 1,648 | 1,648 | CONTRIBUTOR | null | Hi there, thanks for the work integrating the new Apex kernel to accelerate T5! Unfortunately, however, I'm having some trouble getting it to run. I installed the Apex library following the instructions on their repo and am trying to run a small test script on an RTX A6000 with cuda 11.1.
## Environment info
- `t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15772/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15772/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15771 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15771/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15771/comments | https://api.github.com/repos/huggingface/transformers/issues/15771/events | https://github.com/huggingface/transformers/issues/15771 | 1,147,115,071 | I_kwDOCUB6oc5EX5Y_ | 15,771 | shift_tokens_right function missing for mt5 models | {
"login": "bduclaux",
"id": 44863999,
"node_id": "MDQ6VXNlcjQ0ODYzOTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/44863999?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bduclaux",
"html_url": "https://github.com/bduclaux",
"followers_url": "https://api.github.com/users/bdu... | [] | closed | false | null | [] | [
"Good catch, thanks for opening the issue! \r\nWould you be interested to open a PR to add this function in flax mT5?",
"Hey Suraj,\r\n\r\nSure ! Will do it tomorrow and keep you posted. Thanks !",
"Also noticed that `adafactor` parameter is not used to instantiate the optimizer in the `run_summarization_flax.p... | 1,645 | 1,652 | 1,652 | NONE | null | ## Environment info
- `transformers` version: 4.17.0.dev0
- Platform: Linux-5.11.0-1028-gcp-x86_64-with-glibc2.29
- Python version: 3.8.10
- PyTorch version (GPU?): 1.11.0a0+git06838ce (False)
- Tensorflow version (GPU?): 2.9.0-dev20220221 (False)
- Flax version (CPU?/GPU?/TPU?): 0.4.0 (cpu)
- Jax version: 0.3.1... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15771/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15771/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15770 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15770/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15770/comments | https://api.github.com/repos/huggingface/transformers/issues/15770/events | https://github.com/huggingface/transformers/pull/15770 | 1,147,025,294 | PR_kwDOCUB6oc4zSpyi | 15,770 | Resnet | {
"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_15770). All of your documentation changes will be reflected on that endpoint.",
"I've removed the `regression` loss from `ForImageClassification` since it is not a loss used for image classification. This open for discussio... | 1,645 | 1,647 | 1,647 | CONTRIBUTOR | null | # What does this PR do?
This WIP PR adds [ResNet](https://arxiv.org/abs/1512.03385).
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/000000039769.png?raw=... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15770/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15770/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15770",
"html_url": "https://github.com/huggingface/transformers/pull/15770",
"diff_url": "https://github.com/huggingface/transformers/pull/15770.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15770.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15769 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15769/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15769/comments | https://api.github.com/repos/huggingface/transformers/issues/15769/events | https://github.com/huggingface/transformers/issues/15769 | 1,147,022,210 | I_kwDOCUB6oc5EXiuC | 15,769 | Docstring says target_sizes is optional (in DETR post_process) but the code disagrees | {
"login": "amgreene",
"id": 7583823,
"node_id": "MDQ6VXNlcjc1ODM4MjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7583823?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amgreene",
"html_url": "https://github.com/amgreene",
"followers_url": "https://api.github.com/users/amgre... | [
{
"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": 3551105283,
"node_id": "LA_kwDO... | closed | false | null | [] | [
"Thanks for pointing that out. Could you open a PR to remove the \"optional\" string?",
"Is this resolved?",
"This issue should be marked closed. The problem seems to be resolved.",
"We're actually updating this at the moment (see #19205), it will become optional. Closing this issue for now."
] | 1,645 | 1,664 | 1,664 | NONE | null | https://github.com/huggingface/transformers/blob/db7d6a80e82d66127b2a44b6e3382969fdc8b207/src/transformers/models/detr/feature_extraction_detr.py#L677
The Docstring marks the `target_sizes` parameter as `*optional*` but the parameter has no default value and is used without any conditional checking for whether it is... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15769/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15769/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15768 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15768/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15768/comments | https://api.github.com/repos/huggingface/transformers/issues/15768/events | https://github.com/huggingface/transformers/pull/15768 | 1,146,888,706 | PR_kwDOCUB6oc4zSMz8 | 15,768 | [doc] custom_models: mention security features of the Hub | {
"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-... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"your last change @stevhliu looks good to me, ready to merge for everyone?"
] | 1,645 | 1,645 | 1,645 | MEMBER | null | cc @McPatate @n1t0 and @SBrandeis @osanseviero and everyone reading this, don't hesitate to regularly read the doc and create links between the hub doc and the libraries docs | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15768/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15768/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15768",
"html_url": "https://github.com/huggingface/transformers/pull/15768",
"diff_url": "https://github.com/huggingface/transformers/pull/15768.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15768.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15767 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15767/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15767/comments | https://api.github.com/repos/huggingface/transformers/issues/15767/events | https://github.com/huggingface/transformers/pull/15767 | 1,146,881,001 | PR_kwDOCUB6oc4zSLLt | 15,767 | Cleanup transformers-cli | {
"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-... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,645 | 1,645 | 1,645 | MEMBER | null | Note to maintainers:
- the `ListReposObjsCommand` (using `HfApi.list_repos_objs`) (which has been deprecated for a while) is going to be removed server-side soon (cc @coyotte508 @XciD @Pierrci) so we should also remove them from transformers now IMO
- the other stuff is just removing deprecation errors (no actual fun... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15767/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15767/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15767",
"html_url": "https://github.com/huggingface/transformers/pull/15767",
"diff_url": "https://github.com/huggingface/transformers/pull/15767.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15767.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15766 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15766/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15766/comments | https://api.github.com/repos/huggingface/transformers/issues/15766/events | https://github.com/huggingface/transformers/issues/15766 | 1,146,738,623 | I_kwDOCUB6oc5EWde_ | 15,766 | [Discussion] Loading and initialising large models with Flax | {
"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 | [] | [
"Had an offline discussion with @patrickvonplaten and here's what we discussed.\r\n\r\nWe can go with option 2 with the following behaviour:\r\n\r\n- introduce a new argument `FlaxPretrainedModel.__init__` called `do_init`, default to `True`. The API stays as it is right now.\r\n`do_init` will be completely optiona... | 1,645 | 1,700 | 1,650 | MEMBER | null | Opening up this issue to discuss how to initialise and load large models with Flax.
# Goals:
1. Be able to initialise and pjit really large models that don’t fit on a single device.
2. Avoid memory fragmentation when loading pre-trained weights in `from_pretrained`.
# Issues:
- With the current API it’s not po... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15766/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/15766/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15765 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15765/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15765/comments | https://api.github.com/repos/huggingface/transformers/issues/15765/events | https://github.com/huggingface/transformers/issues/15765 | 1,146,721,686 | I_kwDOCUB6oc5EWZWW | 15,765 | do not support deepcopy when using deepspeed? | {
"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 | [] | [
"@lavine-lmu,\r\n\r\ndeepspeed installs all kinds of hooks into the model, which perhaps makes it impossible to `deepcopy` \r\n\r\nHave you tried copying the model before deepspeed init? and then initing on the copy?\r\n\r\nOverall this question belongs to https://github.com/microsoft/DeepSpeed as it's not related ... | 1,645 | 1,645 | 1,645 | 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: Ubuntu
- Python version: 3.8
- PyTorch version (GPU?): 1.8
- Tensorflow version (GPU?): ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15765/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15765/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15764 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15764/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15764/comments | https://api.github.com/repos/huggingface/transformers/issues/15764/events | https://github.com/huggingface/transformers/issues/15764 | 1,146,624,735 | I_kwDOCUB6oc5EWBrf | 15,764 | Resnet weights should not be downloaded when building DETR by from_pretrained | {
"login": "LukeForeverYoung",
"id": 16715989,
"node_id": "MDQ6VXNlcjE2NzE1OTg5",
"avatar_url": "https://avatars.githubusercontent.com/u/16715989?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LukeForeverYoung",
"html_url": "https://github.com/LukeForeverYoung",
"followers_url": "https://... | [
{
"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\nThat totally makes sense. \r\n\r\nTo solve this, we can add an attribute to `DetrConfig` called `use_pretrained_backbone` which is set to `True` by default, but can be set to `False`. In that way, when initializing a DetrModel as follows:\r\n\r\n```\r\nfrom transformers import DetrConfig, DetrModel\r\n\... | 1,645 | 1,655 | 1,655 | NONE | null | ## Describe the bug
Hello, the building process of DETR in transformers uses timm to construct a resnet backbone.
```
backbone = create_model(name, pretrained=True, features_only=True, out_indices=(1, 2, 3, 4), **kwargs)
```
However, `pretrained=True` should only be enabled when building an initial DETR. When buil... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15764/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/15764/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.