From 6447b8e396a7bde6f16f41ea2272dd268e2dfd75 Mon Sep 17 00:00:00 2001 From: ines Date: Mon, 6 Nov 2017 21:15:36 +0100 Subject: [PATCH] Update v2 details --- website/index.jade | 4 ++-- website/models/index.jade | 4 ++-- website/usage/_install/_instructions.jade | 2 +- website/usage/_v2/_features.jade | 21 +++++++++++++++------ website/usage/_v2/_summary.jade | 2 +- website/usage/models.jade | 2 +- 6 files changed, 22 insertions(+), 13 deletions(-) diff --git a/website/index.jade b/website/index.jade index 79a6dd76d..3e15559ac 100644 --- a/website/index.jade +++ b/website/index.jade @@ -111,8 +111,8 @@ include _includes/_mixins | deliver accuracy in-line with the latest research systems, | even when evaluated from raw text. With these innovations, spaCy | v2.0's models are #[strong 10× smaller], - | #[strong 20% more accurate], and #[strong just as fast] as the - | previous generation. + | #[strong 20% more accurate], and #[strong even cheaper to run] than + | the previous generation. .o-block-small.u-text-right +button("/models", true, "secondary-light") Download models diff --git a/website/models/index.jade b/website/models/index.jade index 861514d1c..5298da3df 100644 --- a/website/models/index.jade +++ b/website/models/index.jade @@ -20,8 +20,8 @@ include ../_includes/_mixins | deliver #[strong accuracy in-line with the latest research systems], | even when evaluated from raw text. With these innovations, spaCy | v2.0's models are #[strong 10× smaller], - | #[strong 20% more accurate], and #[strong just as fast] as the - | previous generation. + | #[strong 20% more accurate], and #[strong even cheaper to run] than + | the previous generation. include ../usage/_models/_quickstart diff --git a/website/usage/_install/_instructions.jade b/website/usage/_install/_instructions.jade index 7a68ebdf9..5885ad85a 100644 --- a/website/usage/_install/_instructions.jade +++ b/website/usage/_install/_instructions.jade @@ -91,7 +91,7 @@ p | As of v2.0, spaCy's comes with neural network models that are implemented | in our machine learning library, #[+a(gh("thinc")) Thinc]. For GPU | support, we've been grateful to use the work of - | #[+a("http://chainer.org") Chainer]'s CuPy module, which provides + | Chainer's #[+a("https://cupy.chainer.org") CuPy] module, which provides | a NumPy-compatible interface for GPU arrays. p diff --git a/website/usage/_v2/_features.jade b/website/usage/_v2/_features.jade index ada54b94d..d31217747 100644 --- a/website/usage/_v2/_features.jade +++ b/website/usage/_v2/_features.jade @@ -10,8 +10,9 @@ p +h(3, "features-models") Convolutional neural network models +aside-code("Example", "bash") - for model in ["en", "de", "fr", "es", "pt", "it"] - | spacy download #{model} # default #{LANGUAGES[model]} model!{'\n'} + for _, lang in MODELS + if lang != "xx" + | spacy download #{lang} # default #{LANGUAGES[lang]} model!{'\n'} | spacy download xx_ent_wiki_sm # multi-language NER p @@ -20,14 +21,22 @@ p | been designed and implemented from scratch specifically for spaCy, to | give you an unmatched balance of speed, size and accuracy. The new | models are #[strong 10× smaller], #[strong 20% more accurate], - | and #[strong just as fast] as the previous generation. - | #[strong GPU usage] is now supported via - | #[+a("http://chainer.org") Chainer]'s CuPy module. + | and #[strong even cheaper to run] than the previous generation. + +p + | spaCy v2.0's new neural network models bring significant improvements in + | accuracy, especially for English Named Entity Recognition. The new + | #[+a("/models/en#en_core_web_lg") #[code en_core_web_lg]] model makes + | about #[strong 25% fewer mistakes] than the corresponding v1.x model and + | is within #[strong 1% of the current state-of-the-art] + | (#[+a("https://arxiv.org/pdf/1702.02098.pdf") Strubell et al., 2017]). + | The v2.0 models are also cheaper to run at scale, as they require + | #[strong under 1 GB of memory] per process. +infobox | #[+label-inline Usage:] #[+a("/models") Models directory], | #[+a("/models/comparison") Models comparison], - | #[+a("/usage/#gpu") Using spaCy with GPU] + | #[+a("#benchmarks") Benchmarks] +h(3, "features-pipelines") Improved processing pipelines diff --git a/website/usage/_v2/_summary.jade b/website/usage/_v2/_summary.jade index 84f238476..6d9681d10 100644 --- a/website/usage/_v2/_summary.jade +++ b/website/usage/_v2/_summary.jade @@ -22,7 +22,7 @@ p | #[strong deep learning-powered models] for spaCy's tagger, | parser and entity recognizer. The new models are | #[strong 10× smaller], #[strong 20% more accurate] and - | just as fast as the previous generation. + | #[strong even cheaper to run] than the previous generation. p | We've also made several usability improvements that are diff --git a/website/usage/models.jade b/website/usage/models.jade index 6b9c4f2bf..0880e1840 100644 --- a/website/usage/models.jade +++ b/website/usage/models.jade @@ -3,7 +3,7 @@ include ../_includes/_mixins p - | As of v1.7.0, models for spaCy can be installed as #[strong Python packages]. + | spaCy's models can be installed as #[strong Python packages]. | This means that they're a component of your application, just like any | other module. They're versioned and can be defined as a dependency in your | #[code requirements.txt]. Models can be installed from a download URL or