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
gaoqiong
MIGraphX
Commits
a0c504f2
Unverified
Commit
a0c504f2
authored
May 25, 2022
by
Paul Fultz II
Committed by
GitHub
May 25, 2022
Browse files
Merge branch 'develop' into jit-vector-reduce
parents
5d941047
bd746ccf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
examples/nlp/python_bert_squad/BERT-Squad.ipynb
examples/nlp/python_bert_squad/BERT-Squad.ipynb
+1
-1
examples/nlp/python_bert_squad/README.md
examples/nlp/python_bert_squad/README.md
+1
-1
examples/nlp/python_bert_squad/requirements_bertsquad.txt
examples/nlp/python_bert_squad/requirements_bertsquad.txt
+1
-1
No files found.
examples/nlp/python_bert_squad/BERT-Squad.ipynb
View file @
a0c504f2
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
"metadata": {},
"metadata": {},
"outputs": [],
"outputs": [],
"source": [
"source": [
"!wget -nc https://github.com/onnx/models/
blob
/main/text/machine_comprehension/bert-squad/model/bertsquad-10.onnx"
"!wget -nc https://github.com/onnx/models/
raw
/main/text/machine_comprehension/bert-squad/model/bertsquad-10.onnx"
]
]
},
},
{
{
...
...
examples/nlp/python_bert_squad/README.md
View file @
a0c504f2
...
@@ -23,7 +23,7 @@ unzip uncased_L-12_H-768_A-12.zip
...
@@ -23,7 +23,7 @@ unzip uncased_L-12_H-768_A-12.zip
```
```
5) Get BERT ONNX model (bertsquad-10.onnx):
5) Get BERT ONNX model (bertsquad-10.onnx):
```
```
wget https://github.com/onnx/models/
blob
/main/text/machine_comprehension/bert-squad/model/bertsquad-10.onnx
wget https://github.com/onnx/models/
raw
/main/text/machine_comprehension/bert-squad/model/bertsquad-10.onnx
```
```
6) Run the inference, it will compile and run the model on three questions and small data provided in
`inputs.json`
:
6) Run the inference, it will compile and run the model on three questions and small data provided in
`inputs.json`
:
```
```
...
...
examples/nlp/python_bert_squad/requirements_bertsquad.txt
View file @
a0c504f2
tensorflow==2.
5.3
tensorflow==2.
6.4
onnxruntime
onnxruntime
tokenizers
tokenizers
\ No newline at end of file
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