mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-04 11:53:09 +03:00
Fix formatting.
This commit is contained in:
parent
0bdd1b7fd5
commit
71ce0c8895
|
@ -92,17 +92,17 @@ architectures and their arguments and hyperparameters.
|
||||||
> ⚠️ Note that if you set a non-default value for `spans_key`, you'll have to
|
> ⚠️ Note that if you set a non-default value for `spans_key`, you'll have to
|
||||||
> update `[training.score_weights]` as well so that weights are computed
|
> update `[training.score_weights]` as well so that weights are computed
|
||||||
> properly. I. e. for `span_key == "myspankey"`, include this in your config:
|
> properly. I. e. for `span_key == "myspankey"`, include this in your config:
|
||||||
|
>
|
||||||
````ini
|
> ```ini
|
||||||
[training.score_weights]
|
> [training.score_weights]
|
||||||
spans_myspankey_f = 1.0
|
> spans_myspankey_f = 1.0
|
||||||
spans_myspankey_p = 0.0
|
> spans_myspankey_p = 0.0
|
||||||
spans_myspankey_r = 0.0
|
> spans_myspankey_r = 0.0
|
||||||
```ini
|
> ```
|
||||||
|
|
||||||
```python
|
```python
|
||||||
%%GITHUB_SPACY/spacy/pipeline/spancat.py
|
%%GITHUB_SPACY/spacy/pipeline/spancat.py
|
||||||
````
|
```
|
||||||
|
|
||||||
## SpanCategorizer.\_\_init\_\_ {id="init",tag="method"}
|
## SpanCategorizer.\_\_init\_\_ {id="init",tag="method"}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user