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
-
upload flax model
ef04d72 -
allow flax
8202a07
-
Migrate model card from transformers-repo
Read announcement at https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755 Original file history: https://github.com/huggingface/transformers/commits/master/model_cards/mrm8488/CodeBERTaPy/README.md703329b
-
Update config.json
0ee93d7
-
Update config.json
d8af0aa
-
Update special_tokens_map.json
abe1751 -
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