Spaces:
Runtime error
Runtime error
| !/usr/bin/env bash | |
| # echo test 1 | |
| # ./venv/bin/python transmorgrify.py \ | |
| # --train --in_csv /home/lansford/Sync/projects/tf_over/sentence_transmogrifier/examples/phonetic/phonetic.csv \ | |
| # --a_header English \ | |
| # --b_header Phonetic\ | |
| # --device 0:1 \ | |
| # --model phonetics_gpu_4000.tm \ | |
| # --verbose \ | |
| # --iterations 4000 \ | |
| # --train_percentage 50 | |
| # echo test 2 | |
| # ./venv/bin/python transmorgrify.py \ | |
| # --train --in_csv /home/lansford/Sync/projects/tf_over/sentence_transmogrifier/examples/phonetic/phonetic.csv \ | |
| # --a_header English \ | |
| # --b_header Phonetic\ | |
| # --device cpu \ | |
| # --model phonetics_cpu_2000.tm \ | |
| # --verbose \ | |
| # --iterations 2000 \ | |
| # --train_percentage 50 | |
| # echo test 1b | |
| # ./venv/bin/python transmorgrify.py \ | |
| # --train --in_csv /home/lansford/Sync/projects/tf_over/sentence_transmogrifier/examples/phonetic/phonetic.csv \ | |
| # --b_header English \ | |
| # --a_header Phonetic\ | |
| # --device 0:1 \ | |
| # --model reverse_phonetics_gpu_4000.tm \ | |
| # --verbose \ | |
| # --iterations 4000 \ | |
| # --train_percentage 50 | |
| # echo test 3 | |
| # ./venv/bin/python transmorgrify.py \ | |
| # --train --in_csv /home/lansford/Sync/projects/tf_over/sentence_transmogrifier/examples/phonetic/phonetic.csv \ | |
| # --b_header English \ | |
| # --a_header Phonetic\ | |
| # --device cpu \ | |
| # --model reverse_phonetics_cpu_2000.tm \ | |
| # --verbose \ | |
| # --iterations 2000 \ | |
| # --train_percentage 50 | |
| echo test 4 | |
| ./venv/bin/python transmorgrify.py \ | |
| --execute \ | |
| --in_csv /home/lansford/Sync/projects/tf_over/sentence_transmogrifier/examples/phonetic/phonetic.csv \ | |
| --a_header Phonetic\ | |
| --b_header English \ | |
| --device cpu \ | |
| --model reverse_phonetics_gpu_4000.tm \ | |
| --verbose \ | |
| --include_stats \ | |
| --out_csv ./reverse_phonetics_out_gpu_4000.csv \ | |
| --train_percentage 50 | |
| echo test 5 | |
| ./venv/bin/python transmorgrify.py \ | |
| --execute \ | |
| --in_csv /home/lansford/Sync/projects/tf_over/sentence_transmogrifier/examples/phonetic/phonetic.csv \ | |
| --a_header English \ | |
| --b_header Phonetic\ | |
| --device cpu \ | |
| --model phonetics_gpu_4000.tm \ | |
| --verbose \ | |
| --include_stats \ | |
| --out_csv ./phonetics_out_gpu_4000.csv \ | |
| --train_percentage 50 | |
| echo test 4 | |
| ./venv/bin/python transmorgrify.py \ | |
| --execute \ | |
| --in_csv /home/lansford/Sync/projects/tf_over/sentence_transmogrifier/examples/piglattin/pig_lattin.csv \ | |
| --a_header Piglattin\ | |
| --b_header English \ | |
| --device cpu \ | |
| --model reverse_piglattin_gpu_4000.tm \ | |
| --verbose \ | |
| --include_stats \ | |
| --out_csv ./reverse_piglattin_out_gpu_4000.csv \ | |
| --train_percentage 50 | |
| echo test 5 | |
| ./venv/bin/python transmorgrify.py \ | |
| --execute \ | |
| --in_csv /home/lansford/Sync/projects/tf_over/sentence_transmogrifier/examples/piglattin/pig_lattin.csv \ | |
| --a_header English \ | |
| --b_header Piglattin\ | |
| --device cpu \ | |
| --model piglattin_gpu_4000.tm \ | |
| --verbose \ | |
| --include_stats \ | |
| --out_csv ./piglattin_out_gpu_4000.csv \ | |
| --train_percentage 50 | |