Update spacy/pipeline/spancat_exclusive.py

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
This commit is contained in:
Lj Miranda 2022-10-26 11:07:57 +08:00 committed by GitHub
parent 95c5bfcc78
commit 1b1afd2251
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
from dataclasses import dataclass from dataclasses import dataclass
from typing import Any, Callable, Dict, Iterable, List, Optional, Tuple, cast from typing import Callable, Dict, Iterable, List, Optional, Tuple, cast
import numpy import numpy
from thinc.api import Config, Model, Ops, Optimizer from thinc.api import Config, Model, Ops, Optimizer