Instructions to use DeTars/DeTars-PII-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER2
How to use DeTars/DeTars-PII-v1 with GLiNER2:
from gliner2 import AutoExtractor extractor = AutoExtractor.from_pretrained("DeTars/DeTars-PII-v1") # Extract entities text = "Apple CEO Tim Cook announced iPhone 15 in Cupertino yesterday." result = extractor.extract_entities(text, ["company", "person", "product", "location"]) print(result) - Notebooks
- Google Colab
- Kaggle
Download encoder.onnx.data from DeTars/DeTars-PII-v1: direct link, hf CLI and curl.
- Browser
- Download file 744 MB
-
https://huggingface.co/DeTars/DeTars-PII-v1/resolve/main/encoder.onnx.data
- Command line
-
hf download hf://DeTars/DeTars-PII-v1/encoder.onnx.data
-
curl -L -o encoder.onnx.data https://huggingface.co/DeTars/DeTars-PII-v1/resolve/main/encoder.onnx.data
744 MB
- Xet hash:
- 22d8e65a708099f2dcb607910c67a11a22424fdca435baec812dbe76b8656900
- Size of remote file:
- 744 MB
- SHA256:
- 57d6d18a9ea7f9ec1ce07215407c7610ffbd85f7ee856a51f6baf1549ac62afe
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.