Prompting strategy
To leverage ChatGPT for machine learning we need to have a clear understanding of how to implement the prompting strategies specifically for code generation for machine learning.
Let’s brainstorm what we would like to achieve in this task to get a better understanding of what needs to go into prompts.
Strategy 1: Task-Actions-Guidelines (TAG) prompt strategy
1.1 - Task: The specific task or goal is to create a classification model for the Fashion-MNIST dataset.
1.2 - Actions: The key steps involved in creating a classification model using an MLP for the Fashion-MNIST dataset are:
- Data preprocessing: Normalize pixel values, flatten images into vectors, and encode categorical labels.
- Data splitting: Partition the dataset into training, validation, and testing sets.
- Model selection: Opt for an MLP as the classification model.
- Model training: Train the MLP on the training data.
- Model evaluation: Use metrics like...