Instructions to use eng-ong/ft-bert-base-uncased-for-binary-search with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use eng-ong/ft-bert-base-uncased-for-binary-search with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="eng-ong/ft-bert-base-uncased-for-binary-search")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("eng-ong/ft-bert-base-uncased-for-binary-search") model = AutoModelForSequenceClassification.from_pretrained("eng-ong/ft-bert-base-uncased-for-binary-search", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files- README.md +6 -6
- config.json +1 -1
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -16,7 +16,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 16 |
|
| 17 |
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the https://www.kaggle.com/datasets/skywardai/network-vulnerability-fixed/data dataset.
|
| 18 |
It achieves the following results on the evaluation set:
|
| 19 |
-
- Loss: 0.
|
| 20 |
|
| 21 |
## Model description
|
| 22 |
|
|
@@ -48,11 +48,11 @@ The following hyperparameters were used during training:
|
|
| 48 |
|
| 49 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 50 |
|:-------------:|:-----:|:----:|:---------------:|
|
| 51 |
-
| 0.
|
| 52 |
-
| 0.
|
| 53 |
-
| 0.
|
| 54 |
-
| 0.
|
| 55 |
-
| 0.
|
| 56 |
|
| 57 |
|
| 58 |
### Framework versions
|
|
|
|
| 16 |
|
| 17 |
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the https://www.kaggle.com/datasets/skywardai/network-vulnerability-fixed/data dataset.
|
| 18 |
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 0.2259
|
| 20 |
|
| 21 |
## Model description
|
| 22 |
|
|
|
|
| 48 |
|
| 49 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 50 |
|:-------------:|:-----:|:----:|:---------------:|
|
| 51 |
+
| 0.7102 | 1.0 | 25 | 0.6709 |
|
| 52 |
+
| 0.6456 | 2.0 | 50 | 0.6042 |
|
| 53 |
+
| 0.5769 | 3.0 | 75 | 0.4790 |
|
| 54 |
+
| 0.4012 | 4.0 | 100 | 0.3237 |
|
| 55 |
+
| 0.3014 | 5.0 | 125 | 0.2259 |
|
| 56 |
|
| 57 |
|
| 58 |
### Framework versions
|
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
"BertForSequenceClassification"
|
| 5 |
],
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "bert-base-uncased",
|
| 3 |
"architectures": [
|
| 4 |
"BertForSequenceClassification"
|
| 5 |
],
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 437958648
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:98f29f75acc18c5e3652c40f8c532d341bf6fed8db059d41846f14e3071c79f2
|
| 3 |
size 437958648
|