Data-efficient LLM Fine-tuning for Code Generation