mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-13 09:42:26 +03:00
apply Basil's suggestion
Co-authored-by: Basile Dura <bdura@users.noreply.github.com>
This commit is contained in:
parent
5f1adceb9c
commit
e4e1f18a5e
|
@ -4128,8 +4128,12 @@
|
|||
"github": "rstudio/vetiver-python",
|
||||
"pip": "vetiver",
|
||||
"code_example": [
|
||||
"import spacy",
|
||||
"from vetiver import VetiverModel, VetiverAPI",
|
||||
"",
|
||||
"# If you use this model, you'll need to download it first:",
|
||||
"# python -m spacy download en_core_web_sm",
|
||||
"nlp = spacy.load('en_core_web_md')",
|
||||
"# Create deployable model object with your nlp Language object",
|
||||
"v = VetiverModel(nlp, model_name = 'my_model')",
|
||||
"# Try out your API endpoint locally",
|
||||
|
|
Loading…
Reference in New Issue
Block a user