Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colab file not working #3

Open
BrMarco99 opened this issue Jan 13, 2024 · 0 comments
Open

Colab file not working #3

BrMarco99 opened this issue Jan 13, 2024 · 0 comments

Comments

@BrMarco99
Copy link

Hello,
I'm getting this error when I try to execute the second cell of the colab file:

ConfigValidationError Traceback (most recent call last)

in <cell line: 12>()
10 os.environ["AZURE_SEARCH_KEY"] = ""
11
---> 12 from run_editor_sequential import run_editor_one_instance
13 from utils import search
14

15 frames

/usr/local/lib/python3.10/dist-packages/confection/init.py in _fill(cls, config, schema, validate, resolve, parent, overrides)
927 result = schema.parse_obj(validation)
928 except ValidationError as e:
--> 929 raise ConfigValidationError(
930 config=config, errors=e.errors(), parent=parent
931 ) from None

ConfigValidationError:

Config validation error
tagger -> label_smoothing extra fields not permitted
{'nlp': <spacy.lang.en.English object at 0x782da593f1f0>, 'name': 'tagger', 'label_smoothing': 0.0, 'model': {'@architectures': 'spacy.Tagger.v2', 'nO': None, 'normalize': False, 'tok2vec': {'@architectures': 'spacy.Tok2VecListener.v1', 'width': 96, 'upstream': 'tok2vec'}}, 'neg_prefix': '!', 'overwrite': False, 'scorer': {'@scorers': 'spacy.tagger_scorer.v1'}, '@factories': 'tagger'}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant