Token Classification
Transformers
Safetensors
English
gpt2
privacy
pii-detection
pii-redaction
sliding-window-attention
rope
swiglu
text-generation-inference
Instructions to use 8Fai/context-filter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use 8Fai/context-filter with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="8Fai/context-filter")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, ContextFilterV2 tokenizer = AutoTokenizer.from_pretrained("8Fai/context-filter") model = ContextFilterV2.from_pretrained("8Fai/context-filter", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from 8Fai/context-filter: direct link, hf CLI and curl.
- Browser
- Download file 245 MB
-
https://huggingface.co/8Fai/context-filter/resolve/main/model.safetensors
- Command line
-
hf download hf://8Fai/context-filter/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/8Fai/context-filter/resolve/main/model.safetensors
245 MB
- Xet hash:
- 2e8b3f200856db5176944a7c7d10ca72485303543f28a3b8e742fb7890855e04
- Size of remote file:
- 245 MB
- SHA256:
- 4bdd3a49d307e96f8a870a5c3422852368fe125c1d38da62bc81f7dfff56e69c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.