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
0d3aa3c0
"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "46509d1c19b9e69d75fb95d33d38dbac4f6f8858"
Commit
0d3aa3c0
authored
Feb 07, 2020
by
VictorSanh
Committed by
Victor SANH
Feb 07, 2020
Browse files
styling
parent
d8b43600
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
src/transformers/pipelines.py
src/transformers/pipelines.py
+1
-4
No files found.
src/transformers/pipelines.py
View file @
0d3aa3c0
...
@@ -977,10 +977,7 @@ SUPPORTED_TASKS = {
...
@@ -977,10 +977,7 @@ SUPPORTED_TASKS = {
"tf"
:
TFAutoModelForQuestionAnswering
if
is_tf_available
()
else
None
,
"tf"
:
TFAutoModelForQuestionAnswering
if
is_tf_available
()
else
None
,
"pt"
:
AutoModelForQuestionAnswering
if
is_torch_available
()
else
None
,
"pt"
:
AutoModelForQuestionAnswering
if
is_torch_available
()
else
None
,
"default"
:
{
"default"
:
{
"model"
:
{
"model"
:
{
"pt"
:
"distilbert-base-cased-distilled-squad"
,
"tf"
:
"distilbert-base-cased-distilled-squad"
,},
"pt"
:
"distilbert-base-cased-distilled-squad"
,
"tf"
:
"distilbert-base-cased-distilled-squad"
,
},
"config"
:
None
,
"config"
:
None
,
"tokenizer"
:
"distilbert-base-cased"
,
"tokenizer"
:
"distilbert-base-cased"
,
},
},
...
...
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