Spaces:
Runtime error
Runtime error
File size: 360 Bytes
ee0d60a fbbf27f ee0d60a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import pandas as pd
import transmorgrify
#load training data
train_data = pd.read_csv( "phonetics_out_gpu_4000.csv" )[0:100]
#do the training
my_model = transmorgrify.Transmorgrifier()
my_model.train(
from_sentences=train_data["in_data"],
to_sentences=train_data["out_data"],
iterations=100, )
#save the results
my_model.save( "my_model.tm" ) |