CurryModel / utils /model.py

Commit History

  1. Update model loading in utils/model.py to specify revision "v0.0.3" for the Hugging Face model download, ensuring compatibility with the latest model version.

    ca5ee40
  2. Update model loading in utils/model.py to specify revision "v0.0.2" for the Hugging Face model download, ensuring compatibility with the latest model version.

    b6cc913
  3. Refactor curry_model.ipynb to update execution counts, enhance model saving functionality, and improve error handling. Introduce new scaling utility in utils/scaling.py for inverse scaling of model outputs. Adjust imports in utils/__init__.py and utils/model.py for better modularity. Update prediction logic in utils/prediction.py to utilize the new scaling function.

    0b861ae
  4. Update model loading in utils/model.py to use .pth format instead of ONNX for improved compatibility with PyTorch.

    ca9f278
  5. Update model loading in utils/model.py to use ONNX format and reduce LSTM layers from 3 to 2. Enhance error handling in utils/prediction.py by adding exception printing for better debugging.

    011df9f
  6. Refactor curry_model.ipynb to update execution counts, enhance model training processes, and improve data handling. Remove the train.py file as its functionality is integrated into the notebook. Update utils/model.py to adjust input dimensions and improve normalization logic. Modify curry_scraper.ipynb to streamline data processing and update execution counts for consistency.

    f99ce58

  1. Refactor curry_model.ipynb to streamline data handling and model training processes. Introduce new utility functions in utils/model.py for data normalization, sliding window creation, and data loading. Update imports in utils/__init__.py to include new functions and enhance modularity. Implement prediction functionality in utils/testing.py, allowing for model evaluation and visualization of results.

    6072137
  2. Refactor curry_model.ipynb to update execution counts, remove unnecessary outputs, and enhance model training functionality. Introduce Config class and utility functions for data handling in utils/model.py, and update imports in utils/__init__.py. Modify prediction.py to ensure environment variables are set correctly.

    ed96cf6

  1. Refactor API structure by consolidating model, prediction, and scraping functionalities into utility modules; update requirements.txt to streamline dependencies; enhance prediction endpoint to utilize new utility functions for improved maintainability and clarity.

    5bbd2ed