Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
6669915b
"...git@developer.sourcefind.cn:modelzoo/qwen_lmdeploy.git" did not exist on "0bd1fa40f41a147cacb61e2730d5f09af2b2deac"
Commit
6669915b
authored
May 07, 2020
by
Julien Chaumond
Committed by
GitHub
May 07, 2020
Browse files
[examples] Add column for pytorch-lightning support
parent
612fa1b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
examples/README.md
examples/README.md
+7
-6
No files found.
examples/README.md
View file @
6669915b
...
@@ -5,6 +5,7 @@ Version 2.9 of `transformers` introduces a new `Trainer` class for PyTorch, and
...
@@ -5,6 +5,7 @@ Version 2.9 of `transformers` introduces a new `Trainer` class for PyTorch, and
Here is the list of all our examples:
Here is the list of all our examples:
-
**grouped by task**
(all official examples work for multiple models)
-
**grouped by task**
(all official examples work for multiple models)
-
with information on whether they are
**built on top of `Trainer`/`TFTrainer`**
(if not, they still work, they might just lack some features),
-
with information on whether they are
**built on top of `Trainer`/`TFTrainer`**
(if not, they still work, they might just lack some features),
-
whether they also include examples for
**`pytorch-lightning`**
, which is a great fully-featured, general-purpose training library for PyTorch,
-
links to
**Colab notebooks**
to walk through the scripts and run them easily,
-
links to
**Colab notebooks**
to walk through the scripts and run them easily,
-
links to
**Cloud deployments**
to be able to deploy large-scale trainings in the Cloud with little to no setup.
-
links to
**Cloud deployments**
to be able to deploy large-scale trainings in the Cloud with little to no setup.
...
@@ -13,12 +14,12 @@ This is still a work-in-progress – in particular documentation is still sparse
...
@@ -13,12 +14,12 @@ This is still a work-in-progress – in particular documentation is still sparse
## Tasks built on Trainer
## Tasks built on Trainer
| Task | Example datasets | Trainer support | TFTrainer support | Colab | One-click Deploy to Azure (wip) |
| Task | Example datasets | Trainer support | TFTrainer support |
pytorch-lightning |
Colab | One-click Deploy to Azure (wip) |
|---|---|:---:|:---:|:---:|:---:|
|---|---|:---:|:---:|:---:|:---:|
:---:|
|
[
`language-modeling`
](
./language-modeling
)
| Raw text | ✅ | - | - | - |
|
[
`language-modeling`
](
./language-modeling
)
| Raw text | ✅ | - | - | - |
- |
|
[
`text-classification`
](
./text-classification
)
| GLUE, XNLI | ✅ | ✅ |
[

](https://colab.research.google.com/github/huggingface/transformers/blob/master/notebooks/trainer/01_text_classification.ipynb) |
[

](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-storage-account-create%2Fazuredeploy.json) |
|
[
`text-classification`
](
./text-classification
)
| GLUE, XNLI | ✅ | ✅ |
✅ |
[

](https://colab.research.google.com/github/huggingface/transformers/blob/master/notebooks/trainer/01_text_classification.ipynb) |
[

](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-storage-account-create%2Fazuredeploy.json) |
|
[
`token-classification`
](
./token-classification
)
| CoNLL NER | ✅ | ✅ | - | - |
|
[
`token-classification`
](
./token-classification
)
| CoNLL NER | ✅ | ✅ |
✅ |
- | - |
|
[
`multiple-choice`
](
./multiple-choice
)
| SWAG, RACE, ARC | ✅ | - | - | - |
|
[
`multiple-choice`
](
./multiple-choice
)
| SWAG, RACE, ARC | ✅ | - | - | - |
- |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment