mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-27 16:39:55 +03:00
fix space
Co-authored-by: Raphael Mitsch <r.mitsch@outlook.com>
This commit is contained in:
parent
899bef3fd0
commit
c52dd968ce
|
@ -27,7 +27,7 @@ as well as through task-specific component factories: `llm_ner`, `llm_spancat`,
|
||||||
> #### Example
|
> #### Example
|
||||||
>
|
>
|
||||||
> ```python
|
> ```python
|
||||||
> # Construction via add_pipe with the default GPT3.5 model and an explicitly defined task
|
> # Construction via add_pipe with the default GPT 3.5 model and an explicitly defined task
|
||||||
> config = {"task": {"@llm_tasks": "spacy.NER.v3", "labels": ["PERSON", "ORGANISATION", "LOCATION"]}}
|
> config = {"task": {"@llm_tasks": "spacy.NER.v3", "labels": ["PERSON", "ORGANISATION", "LOCATION"]}}
|
||||||
> llm = nlp.add_pipe("llm", config=config)
|
> llm = nlp.add_pipe("llm", config=config)
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user