Add spaCy Tailored Pipelines

This commit is contained in:
Ines Montani 2022-02-08 11:46:42 +01:00
parent 42072f4468
commit f2c2b97e56
7 changed files with 94 additions and 39 deletions

View File

@ -33,7 +33,7 @@ open-source software, released under the MIT license.
## 📖 Documentation ## 📖 Documentation
| Documentation | | | Documentation | |
| -------------------------- | -------------------------------------------------------------- | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ⭐️ **[spaCy 101]** | New to spaCy? Here's everything you need to know! | | ⭐️ **[spaCy 101]** | New to spaCy? Here's everything you need to know! |
| 📚 **[Usage Guides]** | How to use spaCy and its features. | | 📚 **[Usage Guides]** | How to use spaCy and its features. |
| 🚀 **[New in v3.0]** | New features, backwards incompatibilities and migration guide. | | 🚀 **[New in v3.0]** | New features, backwards incompatibilities and migration guide. |
@ -45,6 +45,7 @@ open-source software, released under the MIT license.
| 📺 **[Videos]** | Our YouTube channel with video tutorials, talks and more. | | 📺 **[Videos]** | Our YouTube channel with video tutorials, talks and more. |
| 🛠 **[Changelog]** | Changes and version history. | | 🛠 **[Changelog]** | Changes and version history. |
| 💝 **[Contribute]** | How to contribute to the spaCy project and code base. | | 💝 **[Contribute]** | How to contribute to the spaCy project and code base. |
| <a href="https://explosion.ai/spacy-tailored-pipelines"><img src="https://user-images.githubusercontent.com/13643239/152853098-1c761611-ccb0-4ec6-9066-b234552831fe.png" width="125" alt="spaCy Tailored Pipelines"/></a> | Get a custom spaCy pipeline, tailor-made for your NLP problem by spaCy's core developers. Streamlined, production-ready, predictable and maintainable. Start by completing our 5-minute questionnaire to tell us what you need and we'll be in touch! **[Learn more &rarr;](https://explosion.ai/spacy-tailored-pipelines)** |
[spacy 101]: https://spacy.io/usage/spacy-101 [spacy 101]: https://spacy.io/usage/spacy-101
[new in v3.0]: https://spacy.io/usage/v3 [new in v3.0]: https://spacy.io/usage/v3
@ -60,9 +61,7 @@ open-source software, released under the MIT license.
## 💬 Where to ask questions ## 💬 Where to ask questions
The spaCy project is maintained by **[@honnibal](https://github.com/honnibal)**, The spaCy project is maintained by the [spaCy team](https://explosion.ai/about).
**[@ines](https://github.com/ines)**, **[@svlandeg](https://github.com/svlandeg)**,
**[@adrianeboyd](https://github.com/adrianeboyd)** and **[@polm](https://github.com/polm)**.
Please understand that we won't be able to provide individual support via email. Please understand that we won't be able to provide individual support via email.
We also believe that help is much more valuable if it's shared publicly, so that We also believe that help is much more valuable if it's shared publicly, so that
more people can benefit from it. more people can benefit from it.

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View File

@ -40,7 +40,11 @@
"label": "Resources", "label": "Resources",
"items": [ "items": [
{ "text": "Project Templates", "url": "https://github.com/explosion/projects" }, { "text": "Project Templates", "url": "https://github.com/explosion/projects" },
{ "text": "v2.x Documentation", "url": "https://v2.spacy.io" } { "text": "v2.x Documentation", "url": "https://v2.spacy.io" },
{
"text": "Custom Solutions",
"url": "https://explosion.ai/spacy-tailored-pipelines"
}
] ]
} }
] ]

View File

@ -48,7 +48,11 @@
{ "text": "Usage", "url": "/usage" }, { "text": "Usage", "url": "/usage" },
{ "text": "Models", "url": "/models" }, { "text": "Models", "url": "/models" },
{ "text": "API Reference", "url": "/api" }, { "text": "API Reference", "url": "/api" },
{ "text": "Online Course", "url": "https://course.spacy.io" } { "text": "Online Course", "url": "https://course.spacy.io" },
{
"text": "Custom Solutions",
"url": "https://explosion.ai/spacy-tailored-pipelines"
}
] ]
}, },
{ {

View File

@ -6,11 +6,14 @@ import { replaceEmoji } from './icon'
export const Ol = props => <ol className={classes.ol} {...props} /> export const Ol = props => <ol className={classes.ol} {...props} />
export const Ul = props => <ul className={classes.ul} {...props} /> export const Ul = props => <ul className={classes.ul} {...props} />
export const Li = ({ children, ...props }) => { export const Li = ({ children, emoji, ...props }) => {
const { hasIcon, content } = replaceEmoji(children) const { hasIcon, content } = replaceEmoji(children)
const liClassNames = classNames(classes.li, { [classes.liIcon]: hasIcon }) const liClassNames = classNames(classes.li, {
[classes.liIcon]: hasIcon,
[classes.emoji]: emoji,
})
return ( return (
<li className={liClassNames} {...props}> <li data-emoji={emoji} className={liClassNames} {...props}>
{content} {content}
</li> </li>
) )

View File

@ -36,6 +36,16 @@
box-sizing: content-box box-sizing: content-box
vertical-align: top vertical-align: top
.emoji:before
content: attr(data-emoji)
padding-right: 0.75em
padding-top: 0
margin-left: -2.5em
width: 1.75em
text-align: right
font-size: 1em
position: static
.li-icon .li-icon
text-indent: calc(-20px - 0.55em) text-indent: calc(-20px - 0.55em)

View File

@ -15,9 +15,9 @@ import {
} from '../components/landing' } from '../components/landing'
import { H2 } from '../components/typography' import { H2 } from '../components/typography'
import { InlineCode } from '../components/code' import { InlineCode } from '../components/code'
import { Ul, Li } from '../components/list'
import Button from '../components/button' import Button from '../components/button'
import Link from '../components/link' import Link from '../components/link'
import { YouTube } from '../components/embed'
import QuickstartTraining from './quickstart-training' import QuickstartTraining from './quickstart-training'
import Project from './project' import Project from './project'
@ -25,6 +25,7 @@ import Features from './features'
import courseImage from '../../docs/images/course.jpg' import courseImage from '../../docs/images/course.jpg'
import prodigyImage from '../../docs/images/prodigy_overview.jpg' import prodigyImage from '../../docs/images/prodigy_overview.jpg'
import projectsImage from '../../docs/images/projects.png' import projectsImage from '../../docs/images/projects.png'
import tailoredPipelinesImage from '../../docs/images/spacy-tailored-pipelines_wide.png'
import Benchmarks from 'usage/_benchmarks-models.md' import Benchmarks from 'usage/_benchmarks-models.md'
@ -104,23 +105,45 @@ const Landing = ({ data }) => {
<LandingBannerGrid> <LandingBannerGrid>
<LandingBanner <LandingBanner
label="New in v3.0" to="https://explosion.ai/spacy-tailored-pipelines"
title="Transformer-based pipelines, new training system, project templates &amp; more" button="Learn more"
to="/usage/v3" background="#E4F4F9"
button="See what's new" color="#1e1935"
small small
> >
spaCy v3.0 features all new <strong>transformer-based pipelines</strong> that <Link to="https://explosion.ai/spacy-tailored-pipelines" hidden>
bring spaCy's accuracy right up to the current <strong>state-of-the-art</strong> <img src={tailoredPipelinesImage} alt="spaCy Tailored Pipelines" />
. You can use any pretrained transformer to train your own pipelines, and even </Link>
share one transformer between multiple components with{' '} <strong>
<strong>multi-task learning</strong>. Training is now fully configurable and Get a custom spaCy pipeline, tailor-made for your NLP problem by spaCy's
extensible, and you can define your own custom models using{' '} core developers.
<strong>PyTorch</strong>, <strong>TensorFlow</strong> and other frameworks. The </strong>
new spaCy projects system lets you describe whole{' '} <br />
<strong>end-to-end workflows</strong> in a single file, giving you an easy path <br />
from prototype to production, and making it easy to clone and adapt <Ul>
best-practice projects for your own use cases. <Li emoji="🔥">
<strong>Streamlined.</strong> Nobody knows spaCy better than we do. Send
us your pipeline requirements and we'll be ready to start producing your
solution in no time at all.
</Li>
<Li emoji="🐿 ">
<strong>Production ready.</strong> spaCy pipelines are robust and easy
to deploy. You'll get a complete spaCy project folder which is ready to{' '}
<InlineCode>spacy project run</InlineCode>.
</Li>
<Li emoji="🔮">
<strong>Predictable.</strong> You'll know exactly what you're going to
get and what it's going to cost. We quote fees up-front, let you try
before you buy, and don't charge for over-runs at our end all the risk
is on us.
</Li>
<Li emoji="🛠">
<strong>Maintainable.</strong> spaCy is an industry standard, and we'll
deliver your pipeline with full code, data, tests and documentation, so
your team can retrain, update and extend the solution as your
requirements change.
</Li>
</Ul>
</LandingBanner> </LandingBanner>
<LandingBanner <LandingBanner
@ -206,8 +229,20 @@ const Landing = ({ data }) => {
</LandingGrid> </LandingGrid>
<LandingBannerGrid> <LandingBannerGrid>
<LandingBanner background="#0099dd" color="#ffffff" small> <LandingBanner
<YouTube id="9k_EfV7Cns0" /> label="New in v3.0"
title="Transformer-based pipelines, new training system, project templates &amp; more"
to="/usage/v3"
button="See what's new"
small
>
spaCy v3.0 features all new <strong>transformer-based pipelines</strong> that
bring spaCy's accuracy right up to the current <strong>state-of-the-art</strong>
. You can use any pretrained transformer to train your own pipelines, and even
share one transformer between multiple components with{' '}
<strong>multi-task learning</strong>. Training is now fully configurable and
extensible, and you can define your own custom models using{' '}
<strong>PyTorch</strong>, <strong>TensorFlow</strong> and other frameworks.
</LandingBanner> </LandingBanner>
<LandingBanner <LandingBanner
to="https://course.spacy.io" to="https://course.spacy.io"