Instructions to use HagalazAI/RedSecureBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HagalazAI/RedSecureBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="HagalazAI/RedSecureBERT")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("HagalazAI/RedSecureBERT") model = AutoModelForSequenceClassification.from_pretrained("HagalazAI/RedSecureBERT") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -69,7 +69,7 @@ Detects **technical red-team / offensive security** text (English).
|
|
| 69 |
- Preserve all original copyright/license notices
|
| 70 |
- Honor [Common Crawl ToU](https://commoncrawl.org/terms-of-use/)
|
| 71 |
|
| 72 |
-
##
|
| 73 |
|
| 74 |
```python
|
| 75 |
#!/usr/bin/env python
|
|
|
|
| 69 |
- Preserve all original copyright/license notices
|
| 70 |
- Honor [Common Crawl ToU](https://commoncrawl.org/terms-of-use/)
|
| 71 |
|
| 72 |
+
## Script exemple
|
| 73 |
|
| 74 |
```python
|
| 75 |
#!/usr/bin/env python
|