Skip to content

Commit

Permalink
Merge pull request #50 from AMS-QF/hugging_face
Browse files Browse the repository at this point in the history
update the model to pytorch
  • Loading branch information
jasonbohne123 authored Feb 5, 2024
2 parents e9ca6c1 + 2b1264b commit d5777da
Show file tree
Hide file tree
Showing 8 changed files with 851 additions and 327 deletions.
16 changes: 12 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
.ipynb_checkpoints/
# files to ignore

# data
data/
data_preprocessing/__pycache__

# system
.env
.ipynb_checkpoints/
.DS_Store

# python
feature_generation/__pycache__/
spark_pipelines/__pycache__

# models
models/lightning_logs
personal_research/
HFT_Research/
.DS_Store
spark_local
testData
2 changes: 2 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ dependencies:
- python_abi
- python-dotenv
- pytorch
- pytorch-lightning
- pytz
- requests
- setuptools
Expand Down Expand Up @@ -74,4 +75,5 @@ dependencies:
- numpy
- pandas
- pyarrow
- torchsummary
prefix: /home/jbohne/anaconda3/envs
1,156 changes: 835 additions & 321 deletions models/Example_OLS_Model.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions models/ols_model/model_summary.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Layer Type,Parameters
Linear,4
Layer Type,Parameters
Linear,3
Binary file added models/ols_model/ols_model.ckpt
Binary file not shown.
Binary file modified models/ols_model/ols_model.pkl
Binary file not shown.
Binary file modified models/ols_model/plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified models/ols_model/pytorch_linear_regression_model.pth
Binary file not shown.

0 comments on commit d5777da

Please sign in to comment.