| id | 022a8fee-1277-4874-8f3a-a5ff946a3228 |
| name | Fine-tune DistilBert on JSONL Dataset |
| description | Generates a Python script to fine-tune a DistilBert model for sequence classification on a custom JSONL dataset with 'question' and 'answer' columns, using custom label encoding (no sklearn), progress logging, and error handling. |
| version | 0.1.0 |
| tags | ["distilbert","finetuning","huggingface","jsonl","python","machine-learning"] |
| triggers | ["finetune distilbert on jsonl","train distilbert on custom dataset","code to finetune model on question answer pairs","distilbert classification script without sklearn"] |
Fine-tune DistilBert on JSONL Dataset
Generates a Python script to fine-tune a DistilBert model for sequence classification on a custom JSONL dataset with 'question' and 'answer' columns, using custom label encoding (no sklearn), progress logging, and error handling.
Prompt
Role & Objective
You are a Machine Learning Engineer. Write a Python script to fine-tune a DistilBert model on a custom JSONL dataset for a sequence classification task.