Update docs [ci skip]

This commit is contained in:
Ines Montani 2020-09-26 13:18:08 +02:00
parent 702edf52a0
commit e06ff8b71d
3 changed files with 5 additions and 6 deletions

View File

@ -91,7 +91,8 @@ import Benchmarks from 'usage/\_benchmarks-models.md'
- **Trained Pipelines:** [`en_core_web_trf`](/models/en#en_core_web_trf),
[`de_dep_news_trf`](/models/de#de_dep_news_trf),
[`es_dep_news_trf`](/models/es#es_dep_news_trf),
[`fr_dep_news_trf`](/models/fr#fr_dep_news_trf)
[`fr_dep_news_trf`](/models/fr#fr_dep_news_trf),
[`zh_core_web_trf`](/models/zh#zh_core_web_trf)
- **Implementation:**
[`spacy-transformers`](https://github.com/explosion/spacy-transformers)

View File

@ -210,7 +210,7 @@
{
"code": "zh",
"name": "Chinese",
"models": ["zh_core_web_sm", "zh_core_web_md", "zh_core_web_lg"],
"models": ["zh_core_web_sm", "zh_core_web_md", "zh_core_web_lg", "zh_core_web_trf"],
"dependencies": [
{
"name": "Jieba",

View File

@ -2065,10 +2065,8 @@
"code_example": [
"import spacy",
"",
"nlp = spacy.load(\"en_trf_bertbaseuncased_lg\")",
"doc = nlp(\"Apple shares rose on the news. Apple pie is delicious.\")",
"print(doc[0].similarity(doc[7]))",
"print(doc._.trf_last_hidden_state.shape)"
"nlp = spacy.load(\"en_core_web_trf\")",
"doc = nlp(\"Apple shares rose on the news. Apple pie is delicious.\")"
],
"author": "Explosion",
"author_links": {