Instructions to use spacy/zh_core_web_sm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- spaCy
How to use spacy/zh_core_web_sm with spaCy:
!pip install https://huggingface.co/spacy/zh_core_web_sm/resolve/main/zh_core_web_sm-any-py3-none-any.whl # Using spacy.load(). import spacy nlp = spacy.load("zh_core_web_sm") # Importing as module. import zh_core_web_sm nlp = zh_core_web_sm.load() - Notebooks
- Google Colab
- Kaggle
| { | |
| "moves":null, | |
| "update_with_oracle_cut_size":100, | |
| "multitasks":[ | |
| ], | |
| "min_action_freq":30, | |
| "learn_tokens":false, | |
| "beam_width":1, | |
| "beam_density":0.0, | |
| "beam_update_prob":0.0, | |
| "incorrect_spans_key":null | |
| } |