Instructions to use spacy/zh_core_web_trf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- spaCy
How to use spacy/zh_core_web_trf with spaCy:
!pip install https://huggingface.co/spacy/zh_core_web_trf/resolve/main/zh_core_web_trf-any-py3-none-any.whl # Using spacy.load(). import spacy nlp = spacy.load("zh_core_web_trf") # Importing as module. import zh_core_web_trf nlp = zh_core_web_trf.load() - Notebooks
- Google Colab
- Kaggle
Download attribute_ruler/patterns from spacy/zh_core_web_trf: direct link, hf CLI and curl.
- Browser
- Download file 2.12 kB
-
https://huggingface.co/spacy/zh_core_web_trf/resolve/main/attribute_ruler/patterns
- Command line
-
hf download hf://spacy/zh_core_web_trf/attribute_ruler/patterns
-
curl -L -o patterns https://huggingface.co/spacy/zh_core_web_trf/resolve/main/attribute_ruler/patterns
2.12 kB
This file contains binary data. It cannot be displayed, but you can still download it.