Run this model with HF Jobs

Run aieng-lab/gpt2-large_comment-type-python 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/aieng-lab/gpt2-large_comment-type-python. 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/aieng-lab/gpt2-large_comment-type-python 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.
fabiancpl's picture
Pushing model, tokenizer and model card
a8a25bc
|
Raw History Blame
824 Bytes
metadata
library_name: transformers
license: mit
language:
  - en
metrics:
  - f1
  - precision
  - recall
base_model:
  - gpt2-large
pipeline_tag: text-classification

GPT-2 large for classifying code comments (multi-label)

This model classifies comments in Python code as 'usage', 'parameters', 'developmentNotes', 'expand' or 'summary'.

Citation

@misc{pena2025benchmark,
  author    = {Fabian Peña and Steffen Herbold},
  title     = {Evaluating Large Language Models on Non-Code Software Engineering Tasks},
  year      = {2025}
}