Instructions to use Radda/bert-base-malicous-code-classification-finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Radda/bert-base-malicous-code-classification-finetuned with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Radda/bert-base-malicous-code-classification-finetuned")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Radda/bert-base-malicous-code-classification-finetuned") model = AutoModelForSequenceClassification.from_pretrained("Radda/bert-base-malicous-code-classification-finetuned") - Notebooks
- Google Colab
- Kaggle
Upload BertForSequenceClassification
Browse files- config.json +1 -1
- model.safetensors +1 -1
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:cb1ec9dad169bb4f9424477734238ad27c95ad96fd21d16d0011c71a5b764bdf
|
| 3 |
size 437958648
|