Instructions to use dessertlab/violent-python-CodeBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dessertlab/violent-python-CodeBERT with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("dessertlab/violent-python-CodeBERT", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
| 1 |
---
|
| 2 |
license: bsd-3-clause
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: bsd-3-clause
|
| 3 |
---
|
| 4 |
+
|
| 5 |
+
CodeBERT model trained on violent-python dataset with block-, function- and line-level samples combined.
|
| 6 |
+
Batch-size = 16, source and target token length = 256.
|