Transformers
PyTorch
TensorBoard
English
encoder-decoder
text2text-generation
Generated from Trainer
seq2seq
Run this model with HF Jobs
Run abhi11nav/codebert-gpt2-commitgen 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/abhi11nav/codebert-gpt2-commitgen. 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/abhi11nav/codebert-gpt2-commitgen 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 abhi11nav/codebert-gpt2-commitgen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use abhi11nav/codebert-gpt2-commitgen with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("abhi11nav/codebert-gpt2-commitgen") model = AutoModelForSeq2SeqLM.from_pretrained("abhi11nav/codebert-gpt2-commitgen", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files15 unmodified lines161718192021222324252615 unmodified lines## Model descriptionMore information needed## Intended uses & limitationsMore information needed## Training and evaluation data15 unmodified lines16171819202122232425262715 unmodified lines## Model descriptionThis is a sequence2sequence model with microsoft/codebert-base as encoder and gpt2 as decoder. Givena gitdiff file, this model can generate a short commit message summarizing the change.## Intended uses & limitationsThe intended use is to automate github commit message. One limitation to consider is that the model can generate a summary of changes, but is only confined to type of change and might not be able to provide details about the change or output specific keywords related to change.## Training and evaluation data
README.md+3-2