Run this model with HF Jobs

Run sagard21/python-code-explainer 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/sagard21/python-code-explainer. 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/sagard21/python-code-explainer 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.

How to custom train

#2
by tusharpiku - opened

Hi folks,

Do anybody know, how can we custom train this model on other languages ?

Thanks,

@tusharpiku I have used salesforce T5 as the base model. It works on 6 languages as far as I remember. But you can create a dataset for your own language and fine-tune this model. The dataset I used for fine-tuning is private, however, I can share it with you.

Here is the link - https://huggingface.co/datasets/sagard21/autotrain-data-code-explainer

Hi @sagard21 , the dataset link isn't working. I'd like to train one on Java/Spring boot to be precise. Would it be possible for you to fix the link so that I can try creating my own dataset?

Hi @sagard21 , I am working on the task by using your pre-trained model, It would be great if you share me the dataset.

Hi @marmikpandya and @Nik18 I have made the dataset public so that it can benefit all. The link still stays the same - sagard21/autotrain-data-code-explainer

Hope this dataset is accessible to you guys. If not, then you can create a new discussion. Closing this for now.

sagard21 changed discussion status to closed

Sign up or log in to comment