Instructions to use HagalazAI/BlueSecureBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HagalazAI/BlueSecureBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="HagalazAI/BlueSecureBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("HagalazAI/BlueSecureBERT") model = AutoModelForSequenceClassification.from_pretrained("HagalazAI/BlueSecureBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files22 unmodified lines2324252627282922 unmodified lines|-------------|-----------|--------|-------|-------|---------|-----------|| Validation | **0.949** | **0.991** | **0.969** | **0.982** | **0.011** | **0.579** |> **Recommended cut-off:** `prob >= 0.50` (arg-max on the validation split)---22 unmodified lines2324252627282922 unmodified lines|-------------|-----------|--------|-------|-------|---------|-----------|| Validation | **0.949** | **0.991** | **0.969** | **0.982** | **0.011** | **0.579** |> **Recommended cut-off:** `prob >= 0.579` (arg-max on the validation split)---
README.md+1-1