mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +03:00
Update docs [ci skip]
This commit is contained in:
parent
702edf52a0
commit
e06ff8b71d
|
@ -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)
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue
Block a user