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:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("dessertlab/violent-python-CodeBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from dessertlab/violent-python-CodeBERT: direct link, hf CLI and curl.
- Browser
- Download file 191 Bytes
-
https://huggingface.co/dessertlab/violent-python-CodeBERT/resolve/main/README.md
- Command line
-
hf download hf://dessertlab/violent-python-CodeBERT/README.md
-
curl -L -o README.md https://huggingface.co/dessertlab/violent-python-CodeBERT/resolve/main/README.md
191 Bytes
metadata
license: bsd-3-clause
CodeBERT model trained on violent-python dataset with block-, function- and line-level samples combined. Batch-size = 16, source and target token length = 256.