Token Classification
Transformers
Safetensors
Russian
English
bert
ner
pii
secret-detection
credentials
masking
russian
Instructions to use fef2/ner_rus_bert-secret_detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fef2/ner_rus_bert-secret_detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="fef2/ner_rus_bert-secret_detection")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("fef2/ner_rus_bert-secret_detection") model = AutoModelForTokenClassification.from_pretrained("fef2/ner_rus_bert-secret_detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -48,9 +48,6 @@ tags:
|
|
| 48 |
|
| 49 |
## Быстрый старт
|
| 50 |
|
| 51 |
-
Репозиторий приватный: сначала `hf auth login` (или `HF_TOKEN=…` в окружении),
|
| 52 |
-
иначе загрузка по id вернёт 401.
|
| 53 |
-
|
| 54 |
```python
|
| 55 |
from transformers import pipeline
|
| 56 |
|
|
|
|
| 48 |
|
| 49 |
## Быстрый старт
|
| 50 |
|
|
|
|
|
|
|
|
|
|
| 51 |
```python
|
| 52 |
from transformers import pipeline
|
| 53 |
|