Instructions to use TensorGreed/SensiGuard-PII with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TensorGreed/SensiGuard-PII with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="TensorGreed/SensiGuard-PII")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("TensorGreed/SensiGuard-PII") model = AutoModelForTokenClassification.from_pretrained("TensorGreed/SensiGuard-PII", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
26cd95e | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
size 2464616
|