mirror of
https://github.com/explosion/spaCy.git
synced 2026-02-02 21:46:24 +03:00
If you don't have spacy-transformers installed, but try to use `init config` with the GPU flag, you'll get an error. The issue is that the `use_transformers` flag in the config is conflated with the GPU flag, and then there's an attempt to access transformers config info that may not exist. There may be a better way to do this, but this stops the error. |
||
|---|---|---|
| .. | ||
| project | ||
| templates | ||
| __init__.py | ||
| _util.py | ||
| assemble.py | ||
| convert.py | ||
| debug_config.py | ||
| debug_data.py | ||
| debug_diff.py | ||
| debug_model.py | ||
| download.py | ||
| evaluate.py | ||
| find_threshold.py | ||
| info.py | ||
| init_config.py | ||
| init_pipeline.py | ||
| package.py | ||
| pretrain.py | ||
| profile.py | ||
| train.py | ||
| validate.py | ||