Instructions to use rlaaudrb1104/models-moved with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rlaaudrb1104/models-moved with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import CodeBERTForVulnerabilityDetectionWithFeatures model = CodeBERTForVulnerabilityDetectionWithFeatures.from_pretrained("rlaaudrb1104/models-moved", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
afa45ed
1
Parent(s): e4b47b3
전처리
Browse files- config.json +1 -3
- model.safetensors +2 -2
- training_args.bin +1 -1
config.json
CHANGED
|
@@ -21,15 +21,13 @@
|
|
| 21 |
"6": "LABEL_6",
|
| 22 |
"7": "LABEL_7",
|
| 23 |
"8": "LABEL_8",
|
| 24 |
-
"9": "LABEL_9"
|
| 25 |
-
"10": "LABEL_10"
|
| 26 |
},
|
| 27 |
"initializer_range": 0.02,
|
| 28 |
"intermediate_size": 3072,
|
| 29 |
"label2id": {
|
| 30 |
"LABEL_0": 0,
|
| 31 |
"LABEL_1": 1,
|
| 32 |
-
"LABEL_10": 10,
|
| 33 |
"LABEL_2": 2,
|
| 34 |
"LABEL_3": 3,
|
| 35 |
"LABEL_4": 4,
|
|
|
|
| 21 |
"6": "LABEL_6",
|
| 22 |
"7": "LABEL_7",
|
| 23 |
"8": "LABEL_8",
|
| 24 |
+
"9": "LABEL_9"
|
|
|
|
| 25 |
},
|
| 26 |
"initializer_range": 0.02,
|
| 27 |
"intermediate_size": 3072,
|
| 28 |
"label2id": {
|
| 29 |
"LABEL_0": 0,
|
| 30 |
"LABEL_1": 1,
|
|
|
|
| 31 |
"LABEL_2": 2,
|
| 32 |
"LABEL_3": 3,
|
| 33 |
"LABEL_4": 4,
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e9fbc6c8e352b7fb9cdd20e15a359a3c1b1869da5086b212ed38025d1968db9
|
| 3 |
+
size 498637432
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4920
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1ae381d8a4e60b845958278ae33592715df0c591a7af3c62d64bd55e46c5dd18
|
| 3 |
size 4920
|