dmlc / gluon-nlp

NLP made easy
https://nlp.gluon.ai/
Apache License 2.0
2.55k stars 538 forks source link

[Tutorial] Add TVM basic tutorial #1524

Closed sxjscience closed 3 years ago

sxjscience commented 3 years ago

Description

Basic tutorial of TVM usage.

Checklist

Essentials

Changes

Comments

cc @dmlc/gluon-nlp-team

codecov[bot] commented 3 years ago

Codecov Report

Merging #1524 (06e40fa) into master (e0e7268) will decrease coverage by 0.45%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1524      +/-   ##
==========================================
- Coverage   86.33%   85.87%   -0.46%     
==========================================
  Files          55       55              
  Lines        7513     7396     -117     
==========================================
- Hits         6486     6351     -135     
- Misses       1027     1045      +18     
Impacted Files Coverage Δ
conftest.py 76.31% <0.00%> (-9.94%) :arrow_down:
src/gluonnlp/data/loading.py 75.75% <0.00%> (-2.36%) :arrow_down:
src/gluonnlp/utils/lazy_imports.py 58.42% <0.00%> (-2.25%) :arrow_down:
src/gluonnlp/utils/misc.py 54.86% <0.00%> (-1.50%) :arrow_down:
src/gluonnlp/data/tokenizers/spacy.py 65.33% <0.00%> (-0.91%) :arrow_down:
src/gluonnlp/data/tokenizers/huggingface.py 71.06% <0.00%> (-0.49%) :arrow_down:
src/gluonnlp/data/tokenizers/jieba.py 73.13% <0.00%> (-0.40%) :arrow_down:
src/gluonnlp/models/transformer_xl.py 80.48% <0.00%> (-0.39%) :arrow_down:
src/gluonnlp/models/xlmr.py 87.87% <0.00%> (-0.36%) :arrow_down:
src/gluonnlp/models/electra.py 76.50% <0.00%> (-0.34%) :arrow_down:
... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e0e7268...06e40fa. Read the comment docs.

github-actions[bot] commented 3 years ago

The documentation website for preview: http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR1524/f996c83484742b655aea9b25e1f53958110f4685/index.html

github-actions[bot] commented 3 years ago

The documentation website for preview: http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR1524/06e40fa52c5dd26d9b821e752cf3644cd5dcf610/index.html

sxjscience commented 3 years ago

Let me merge this in first. We can improve the content later.