Hi
I am trying to train BioBert model on squad dataset. I am facing 2 problems:
1- The answers to context are not accurate.
2-I am not sure if the model is properly trained?
Following are my questions/contexts and answers from the newly trained model.
x=bot([‘Coronavirus disease 2019 (COVID-19) is a contagious disease caused by severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2). The first case was identified in Wuhan, China, in December 2019. It has since spread worldwide, leading to an ongoing pandemic.’], [‘What is coronavirus?’])
print(x)
y=bot([‘DeepPavlov is an open-source conversational AI library built on TensorFlow and Keras. DeepPavlov is designed for development of production ready chatbots and complex conversational systems, research in the area of NLP and, particularly, of dialog systems.’’], [‘What is deeppavlov?’])
print(y)
z=bot([‘Machine learning is a method of data analysis that automates analytical model building. It is a branch of artificial intelligence based on the idea that systems can learn from data, identify patterns and make decisions with minimal human intervention.’], [‘What is machine learning?’])
print(z)
a=bot([‘Diabetes is a disease in which your blood glucose, or blood sugar, levels are too high. Glucose comes from the foods you eat. Insulin is a hormone that helps the glucose get into your cells to give them energy.’], [‘What is diabetes?’])
print(a)
Results:
[[‘ongoing pandemic’], [242], [1.2818810939788818]]
[[‘built on TensorFlow and Keras’], [55], [1.2005016803741455]]
[[‘It is a branch of artificial intelligence based on’], [88], [1.1758620738983154]]
[[‘levels are too high. Glucose’], [67], [1.076728105545044]]
Any feedback will be of great help!
Thank you!