Run this model with HF Jobs
Run neulab/codebert-javascript on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/neulab/codebert-javascript. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/neulab/codebert-javascript on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use neulab/codebert-javascript with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use neulab/codebert-javascript with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="neulab/codebert-javascript")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("neulab/codebert-javascript") model = AutoModelForMaskedLM.from_pretrained("neulab/codebert-javascript", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files1 unmodified line23451 unmodified lineIt is intended to be used in CodeBERTScore: [https://github.com/neulab/code-bert-score](https://github.com/neulab/code-bert-score), but can be used for any other model or task.For more information, see: [https://github.com/neulab/code-bert-score](https://github.com/neulab/code-bert-score)1 unmodified line234567891011121314151617181 unmodified lineIt is intended to be used in CodeBERTScore: [https://github.com/neulab/code-bert-score](https://github.com/neulab/code-bert-score), but can be used for any other model or task.For more information, see: [https://github.com/neulab/code-bert-score](https://github.com/neulab/code-bert-score)## CitationIf you use this model for research, please cite:```@article{zhou2023codebertscore,url = {https://arxiv.org/abs/2302.05527},author = {Zhou, Shuyan and Alon, Uri and Agarwal, Sumit and Neubig, Graham},title = {CodeBERTScore: Evaluating Code Generation with Pretrained Models of Code},publisher = {arXiv},year = {2023},}```
README.md+14-1