diff --git a/.dvc/.gitignore b/.dvc/.gitignore new file mode 100644 index 0000000..528f30c --- /dev/null +++ b/.dvc/.gitignore @@ -0,0 +1,3 @@ +/config.local +/tmp +/cache diff --git a/.dvc/config b/.dvc/config new file mode 100644 index 0000000..c02d6a2 --- /dev/null +++ b/.dvc/config @@ -0,0 +1,4 @@ +[core] + remote = ium_ssh_remote +['remote "ium_ssh_remote"'] + url = ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp diff --git a/.dvcignore b/.dvcignore new file mode 100644 index 0000000..5197305 --- /dev/null +++ b/.dvcignore @@ -0,0 +1,3 @@ +# Add patterns of files dvc should ignore, which could improve +# the performance. Learn more at +# https://dvc.org/doc/user-guide/dvcignore diff --git a/.gitignore b/.gitignore index 172195e..7fa5610 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ metrics.png my_runs mlruns modelML +/real-or-fake-fake-jobposting-prediction.zip diff --git a/deepl.py b/deepl.py index 05ba415..d5fef4d 100644 --- a/deepl.py +++ b/deepl.py @@ -30,7 +30,7 @@ def train(epochs): # print(sys.argv[1]) # epochs = int(sys.argv[1]) # epochs=10 - with zipfile.ZipFile('stare_zadania/real-or-fake-fake-jobposting-prediction.zip', 'r') as zip_ref: + with zipfile.ZipFile('real-or-fake-fake-jobposting-prediction.zip', 'r') as zip_ref: zip_ref.extractall('') mlflow.log_param("epochs", epochs) diff --git a/real-or-fake-fake-jobposting-prediction.zip.dvc b/real-or-fake-fake-jobposting-prediction.zip.dvc new file mode 100644 index 0000000..4a5c051 --- /dev/null +++ b/real-or-fake-fake-jobposting-prediction.zip.dvc @@ -0,0 +1,4 @@ +outs: +- md5: 720b87177496c52f028ec184935f8031 + size: 16868281 + path: real-or-fake-fake-jobposting-prediction.zip diff --git a/requirements.txt b/requirements.txt index e91818e..3794e19 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,4 +9,5 @@ sklearn scipy sacred pymongo -mlflow \ No newline at end of file +mlflow +dvc \ No newline at end of file diff --git a/stare_zadania/real-or-fake-fake-jobposting-prediction.zip b/stare_zadania/real-or-fake-fake-jobposting-prediction.zip deleted file mode 100644 index d8b4583..0000000 Binary files a/stare_zadania/real-or-fake-fake-jobposting-prediction.zip and /dev/null differ