from simplet5 import SimpleT5 import numpy as np import pandas as pd from sklearn.model_selection import train_test_split instantiate model = SimpleT5() model.from_pretrained("t5","t5-base") load trained T5 model model.load_model("t5","APO-Group/PressModel/Press Model", use_gpu=False) predict predicted = model.predict("summarize: OAFLAD is an annual conference that brings together First Ladies from different African countries. This platform enables them to share their experiences and demonstrate their commitment to sustainable development, the promotion of women's and children's rights on the continent, youth development and the promotion of gender diversity. The distinguished First Ladies will contribute with their expertise and experience to the developing policies and projects aimed at improving the quality of life for the continent's populations, with a particular focus on the most vulnerable. For Vodacom Congo, this is an opportunity to consolidate its commitment in the DRC, but also that of the Vodacom Group at a pan-African level, in favor of inclusion for all. Through its Group, Vodacom Congo is taking part in a vast pan-African program called 'Africa.Connected', which aims to accelerate Africa's digital transformation through connectivity and access to Vodafone and Vodacom digital services and platforms.") print(predicted)