File size: 3,067 Bytes
578e468
a362d69
 
fbbf27f
a362d69
 
 
 
 
 
 
 
 
fbbf27f
a362d69
 
 
 
 
 
 
 
 
fbbf27f
a362d69
 
 
 
 
 
 
 
 
fbbf27f
a362d69
 
 
 
 
 
 
 
578e468
a362d69
fbbf27f
a362d69
 
 
 
578e468
a362d69
 
578e468
a362d69
578e468
a362d69
fbbf27f
578e468
 
 
a362d69
578e468
a362d69
 
578e468
a362d69
 
578e468
 
 
fbbf27f
a362d69
578e468
 
a362d69
578e468
 
a362d69
578e468
 
 
 
fbbf27f
578e468
a362d69
578e468
a362d69
578e468
 
a362d69
578e468
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
!/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