Instructions to use mrm8488/CodeBERTaPy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mrm8488/CodeBERTaPy with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="mrm8488/CodeBERTaPy")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("mrm8488/CodeBERTaPy") model = AutoModelForMaskedLM.from_pretrained("mrm8488/CodeBERTaPy", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update training_args.bin
f21f188 -
Update vocab.json
16b69c5 -
Update pytorch_model.bin
faf6769 -
Update tokenizer_config.json
3ee3c66 -
Update merges.txt
f7ca60d -
Update config.json
7b921af -
initial commit
ce84de1