|
|
--- |
|
|
license: apache-2.0 |
|
|
language: |
|
|
- en |
|
|
--- |
|
|
|
|
|
This model goes along with the following blog post for how we trained it. |
|
|
|
|
|
https://blog.oxen.ai/practical-ml-dive-how-to-train-mamba-for-question-answering/ |
|
|
|
|
|
The model will answer a question given context, or refuse to answer a question given context. |
|
|
|
|
|
``` |
|
|
{context} |
|
|
|
|
|
Q: {question} |
|
|
A: |
|
|
``` |
|
|
|
|
|
and will answer with "I don't know" if the context does not answer the question. |
|
|
|
|
|
For example: |
|
|
|
|
|
``` |
|
|
The Panthers used the San Jose State practice facility and stayed at the San Jose Marriott. |
|
|
The Broncos practiced at Stanford University and stayed at the Santa Clara Marriott. |
|
|
|
|
|
Q: What hotel did the Panther’s stay at? |
|
|
A: San Jose Marriott |
|
|
``` |
|
|
|
|
|
``` |
|
|
The Carolina Panthers are a professional American football team based in Charlotte, North Carolina. |
|
|
The Panthers compete in the National Football League (NFL), as a member club of the league's National Football Conference (NFC) South division. |
|
|
|
|
|
Q: What hotel did the Panther’s stay at? |
|
|
A: I don't know |
|
|
``` |
|
|
|
|
|
|
|
|
|