Instructions to use introduck/en_ner_vc_lg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- spaCy
How to use introduck/en_ner_vc_lg with spaCy:
!pip install https://huggingface.co/introduck/en_ner_vc_lg/resolve/main/en_ner_vc_lg-any-py3-none-any.whl # Using spacy.load(). import spacy nlp = spacy.load("en_ner_vc_lg") # Importing as module. import en_ner_vc_lg nlp = en_ner_vc_lg.load() - Notebooks
- Google Colab
- Kaggle
Download handler_test.py from introduck/en_ner_vc_lg: direct link, hf CLI and curl.
- Browser
- Download file 261 Bytes
-
https://huggingface.co/introduck/en_ner_vc_lg/resolve/main/handler_test.py
- Command line
-
hf download hf://introduck/en_ner_vc_lg/handler_test.py
-
curl -L -o handler_test.py https://huggingface.co/introduck/en_ner_vc_lg/resolve/main/handler_test.py
261 Bytes
| from handler import EndpointHandler | |
| class TestEndpointHandler: | |
| _handler: EndpointHandler = EndpointHandler() | |
| def test_endpoint_handler(self): | |
| outputs: list = self._handler(data={"inputs": "Who is John Doe?"}) | |
| assert len(outputs) == 1 | |