Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training my own model #25

Open
ior308 opened this issue Jun 29, 2023 · 4 comments
Open

Training my own model #25

ior308 opened this issue Jun 29, 2023 · 4 comments

Comments

@ior308
Copy link

ior308 commented Jun 29, 2023

Hi,

is there a very simple example using spago to train my own models for Q&A ? It is only enough for a single sentence just to understand the process.

Thank you

@ior308
Copy link
Author

ior308 commented Sep 8, 2023

Hi, any news ?

@ior308
Copy link
Author

ior308 commented Sep 28, 2023

Using Q&A with my own document I got line/cols and scores, and a txt response. Can I get a spoken response adding a generative model trained on the same data ? Can you show me an example ?

Regards

@mooijtech
Copy link

Do you mean "text to speech"?
That would be out of scope for this project.

@ior308
Copy link
Author

ior308 commented Sep 29, 2023

No :)
Imagine having a text document describing the Italian Republic Day. Today with the Q&A, you get an extraction of the text that best answers a question and its position. It would instead be possible to generate a generative response based on the question and answer response,, for instance:

"When is Republic Day celebrated?"
9.778867743
{
"Answers": [
{
"Text": "It is celebrated every year on June 2nd",
"Beginning": 143,
"End": 177,
"Score": 0.688159051418598
},
{
"Text": "every year on June 2nd",
"Beginning": 156,
"End": 177,
"Score": 0.2833200460374781
}
]
}

Example of generative response: “Republic Day is a day of celebration national... and is celebrated every year on June 2nd.."

This is a response richer in information, although some text is present in the document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants