integrate old homework wip
This commit is contained in:
parent
5a6421642a
commit
995df105ee
3
.gitignore
vendored
3
.gitignore
vendored
@ -9,3 +9,6 @@ data_not_shuf.csv
|
|||||||
data_not_cutted.csv
|
data_not_cutted.csv
|
||||||
venv
|
venv
|
||||||
.~lock.fake_job_postings.csv#
|
.~lock.fake_job_postings.csv#
|
||||||
|
.idea
|
||||||
|
model_resutls.txt
|
||||||
|
model
|
3
deepl.py
3
deepl.py
@ -156,6 +156,9 @@ if __name__ == "__main__":
|
|||||||
f.write(i+"\n")
|
f.write(i+"\n")
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
|
torch.save(model, 'model')
|
||||||
|
|
||||||
|
|
||||||
# plt.figure(figsize=(12, 5))
|
# plt.figure(figsize=(12, 5))
|
||||||
# ax = plt.subplot(121)
|
# ax = plt.subplot(121)
|
||||||
# plt.xlabel('epochs')
|
# plt.xlabel('epochs')
|
||||||
|
4
stare_zadania/Jenkinsfile
vendored
4
stare_zadania/Jenkinsfile
vendored
@ -1,7 +1,7 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
dockerfile {
|
dockerfile {
|
||||||
additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} --build-arg CUTOFF=${params.CUTOFF} -t ium"
|
docker { image 'mikolajpokrywka/ium:0.0.0' }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
parameters {
|
parameters {
|
||||||
@ -35,7 +35,7 @@ pipeline {
|
|||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}",
|
"KAGGLE_KEY=${params.KAGGLE_KEY}",
|
||||||
"CUTOFF=${params.CUTOFF}"]) {
|
"CUTOFF=${params.CUTOFF}"]) {
|
||||||
sh 'python3 ./download_data_and_process.py'
|
sh 'python3 ./download_data_and_process.py'
|
||||||
archiveArtifacts artifacts: "data_test.csv, data_dev.csv, data_train.csv, column_titles.csv, data.csv"
|
archiveArtifacts artifacts: "data_test.csv, data_dev.csv, data_train.csv, column_titles.csv, fake_job_postings.csv"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user