Refactor poem generation parameters; replace PoemRequest with GenerationParams for enhanced control and validation of generation settings 6d783aa abhisheksan commited on Nov 8, 2024
Remove temperature parameter from generate_poem function call for simplified text generation 1f5f1e2 abhisheksan commited on Nov 8, 2024
Update generate_poem function to use max_new_tokens for improved token control faba267 abhisheksan commited on Nov 8, 2024
Refactor PoetryGenerationService and ModelManager for improved resource efficiency; optimize model loading, implement caching, and enhance error handling 7257855 abhisheksan commited on Nov 8, 2024
Optimize model loading and error handling in PoetryGenerationService; implement async poem generation and enhance application startup process 6dbb459 abhisheksan commited on Nov 8, 2024
Improve model preloading in PoetryGenerationService with meaningful return value and enhanced error handling abc61cb abhisheksan commited on Nov 7, 2024
Enhance lifespan management in FastAPI by initializing PoetryGenerationService and handling model preloading asynchronously 1c1ca6d abhisheksan commited on Nov 7, 2024
Add model preloading functionality to PoetryGenerationService and initialize on startup e47369c abhisheksan commited on Nov 7, 2024
Refactor Dockerfile and enhance main.py with Hugging Face integration 2901363 abhisheksan commited on Nov 6, 2024
Add initial project structure with FastAPI and poetry generation service cee4b22 abhisheksan commited on Nov 6, 2024