DSPy Module for Fine-Tuning Script Generation

implementationChallenge

Prompt Content

Develop the DSPy modules for an 'FineTuningEngineerAgent' to generate optimized fine-tuning scripts based on input parameters (dataset_url, base_model, epochs, learning_rate). The DSPy program should ensure the generated script is robust, correct, and compatible with common LLM fine-tuning frameworks (e.g., Hugging Face Transformers).

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations