rahat10120141
rahat10120141
I tested the output. It was in the german language. But why its In German Language
``` model = SimpleT5() model.from_pretrained(model_type="t5", model_name="t5-base") path = "D:\\Python\\Quilbot\\Dataset\\translation.csv" df = pd.read_csv(path, encoding='utf8',quotechar="'") # df.apply(lambda x: pd.lib.infer_dtype(x.values)) # print(df) df = df.rename(columns={"headlines": "source_text", "text": "target_text"}) df = df[['source_text', 'target_text']] #...
I have tested it with the commanding phrase: "tn2bn"
T5 Doesn't have an English to Bengali translation. From the beginning, it was giving me German result