mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-04 12:20:20 +03:00
skeleton
This commit is contained in:
parent
dbd829f0ed
commit
7aabc12d5c
81
website/docs/usage/v3-5.md
Normal file
81
website/docs/usage/v3-5.md
Normal file
|
@ -0,0 +1,81 @@
|
||||||
|
---
|
||||||
|
title: What's New in v3.5
|
||||||
|
teaser: New features and how to upgrade
|
||||||
|
menu:
|
||||||
|
- ['New Features', 'features']
|
||||||
|
- ['Upgrading Notes', 'upgrading']
|
||||||
|
---
|
||||||
|
|
||||||
|
## New features {#features hidden="true"}
|
||||||
|
|
||||||
|
spaCy v3.5 introduces two new CLI commands, `find-threshold`
|
||||||
|
and `apply`, provides improvements and extensions to our entity linking
|
||||||
|
functionality, XXX
|
||||||
|
|
||||||
|
### New CLI commands {#cli}
|
||||||
|
|
||||||
|
TODO `find-threshold`
|
||||||
|
|
||||||
|
TODO `apply`
|
||||||
|
|
||||||
|
### Entity Linking generalization {#el}
|
||||||
|
|
||||||
|
XXX
|
||||||
|
|
||||||
|
### Trained pipelines {#models}
|
||||||
|
|
||||||
|
XXX
|
||||||
|
|
||||||
|
### Pipeline updates {#pipelines}
|
||||||
|
|
||||||
|
XXX
|
||||||
|
|
||||||
|
## Notes about upgrading from v3.4 {#upgrading}
|
||||||
|
|
||||||
|
### XXX
|
||||||
|
|
||||||
|
XXX
|
||||||
|
|
||||||
|
|
||||||
|
### Pipeline package version compatibility {#version-compat}
|
||||||
|
|
||||||
|
> #### Using legacy implementations
|
||||||
|
>
|
||||||
|
> In spaCy v3, you'll still be able to load and reference legacy implementations
|
||||||
|
> via [`spacy-legacy`](https://github.com/explosion/spacy-legacy), even if the
|
||||||
|
> components or architectures change and newer versions are available in the
|
||||||
|
> core library.
|
||||||
|
|
||||||
|
When you're loading a pipeline package trained with an earlier version of spaCy
|
||||||
|
v3, you will see a warning telling you that the pipeline may be incompatible.
|
||||||
|
This doesn't necessarily have to be true, but we recommend running your
|
||||||
|
pipelines against your test suite or evaluation data to make sure there are no
|
||||||
|
unexpected results.
|
||||||
|
|
||||||
|
If you're using one of the [trained pipelines](/models) we provide, you should
|
||||||
|
run [`spacy download`](/api/cli#download) to update to the latest version. To
|
||||||
|
see an overview of all installed packages and their compatibility, you can run
|
||||||
|
[`spacy validate`](/api/cli#validate).
|
||||||
|
|
||||||
|
If you've trained your own custom pipeline and you've confirmed that it's still
|
||||||
|
working as expected, you can update the spaCy version requirements in the
|
||||||
|
[`meta.json`](/api/data-formats#meta):
|
||||||
|
|
||||||
|
```diff
|
||||||
|
- "spacy_version": ">=3.3.0,<3.5.0",
|
||||||
|
+ "spacy_version": ">=3.3.0,<3.6.0",
|
||||||
|
```
|
||||||
|
|
||||||
|
### Updating v3.4 configs
|
||||||
|
|
||||||
|
To update a config from spaCy v3.4 with the new v3.5 settings, run
|
||||||
|
[`init fill-config`](/api/cli#init-fill-config):
|
||||||
|
|
||||||
|
```cli
|
||||||
|
$ python -m spacy init fill-config config-v3.4.cfg config-v3.5.cfg
|
||||||
|
```
|
||||||
|
|
||||||
|
In many cases ([`spacy train`](/api/cli#train),
|
||||||
|
[`spacy.load`](/api/top-level#spacy.load)), the new defaults will be filled in
|
||||||
|
automatically, but you'll need to fill in the new settings to run
|
||||||
|
[`debug config`](/api/cli#debug) and [`debug data`](/api/cli#debug-data).
|
|
@ -13,7 +13,8 @@
|
||||||
{ "text": "New in v3.1", "url": "/usage/v3-1" },
|
{ "text": "New in v3.1", "url": "/usage/v3-1" },
|
||||||
{ "text": "New in v3.2", "url": "/usage/v3-2" },
|
{ "text": "New in v3.2", "url": "/usage/v3-2" },
|
||||||
{ "text": "New in v3.3", "url": "/usage/v3-3" },
|
{ "text": "New in v3.3", "url": "/usage/v3-3" },
|
||||||
{ "text": "New in v3.4", "url": "/usage/v3-4" }
|
{ "text": "New in v3.4", "url": "/usage/v3-4" },
|
||||||
|
{ "text": "New in v3.5", "url": "/usage/v3-5" }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -120,8 +120,8 @@ const AlertSpace = ({ nightly, legacy }) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const navAlert = (
|
const navAlert = (
|
||||||
<Link to="/usage/v3-4" hidden>
|
<Link to="/usage/v3-5" hidden>
|
||||||
<strong>💥 Out now:</strong> spaCy v3.4
|
<strong>💥 Out now:</strong> spaCy v3.5
|
||||||
</Link>
|
</Link>
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user