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
Download attribute_ruler/patterns from spacy/zh_core_web_sm: direct link, hf CLI and curl.
- Browser
- Download file 2.12 kB
-
https://huggingface.co/spacy/zh_core_web_sm/resolve/main/attribute_ruler/patterns
- Command line
-
hf download hf://spacy/zh_core_web_sm/attribute_ruler/patterns
-
curl -L -o patterns https://huggingface.co/spacy/zh_core_web_sm/resolve/main/attribute_ruler/patterns
2.12 kB
This file contains binary data. It cannot be displayed, but you can still download it.