transformers torch scikit-learn openai python-docx astroquery