Views
No views yet
1from transformers import pipeline
2
3model_name = "Kiran2004/Roberta_QCA_Squad"
4
5question_answerer = pipeline("question-answering", model = model_name)
6
7question = "How many programming languages does BLOOM support?"
8context = "BLOOM has 176 billion parameters and can generate text in 46 languages natural languages and 13 programming languages."
9
10question_answerer(question=question, context=context)| Train Loss | Validation Loss | Epoch |
|---|---|---|
| 0.5774 | 0.4305 | 0 |
| 0.3089 | 0.4597 | 1 |
| 0.2268 | 0.4541 | 2 |
| 0.1852 | 0.4718 | 3 |
| 0.1618 | 0.4821 | 4 |
| 0.1434 | 0.4821 | 5 |