Correct all the grammatical errors within an excerpt of a transcript
This is voice-to-text transcription corrector. Given a transcribed excerpt with errors, the model responds with the correct version of the excerpt.
Incorrect transcription: I am balling into hay to read port missing credit card. I lost by card when I what's at the grocery store and I need to see sent a new one.
Correct transcription: I am calling in today to report a missing credit card. I lost my card when I was at the grocery store and I need to be sent a new one.
--
Incorrect transcription: Can you repeat the dates for the three and five dear fixed mortgages? I want to compare them a gain the dates I was quoted by a other broker.
Correct transcription: Can you repeat the rates for the three and five year fixed mortgages? I want to compare them against the rates I was quoted by another broker.
--
Incorrect transcription: I got got charged interest on ly credit card but I paid my pull balance one day due date. I not missed a pavement year yet. Man you reverse the interest charge?
Correct transcription:
I got charged interest on my credit card but I paid my full balance one day before the due date. I have not missed a payment yet. Can you reverse the interest charge?
import cohereco = cohere.Client('{apiKey}')response = co.generate(model='xlarge',prompt='This is voice-to-text transcription corrector. Given a transcribed excerpt with errors, the model responds with the correct version of the excerpt.\n\nIncorrect transcription: I am balling into hay to read port missing credit card. I lost by card when I what\'s at the grocery store and I need to see sent a new one.\n\nCorrect transcription: I am calling in today to report a missing credit card. I lost my card when I was at the grocery store and I need to be sent a new one.\n--\nIncorrect transcription: Can you repeat the dates for the three and five dear fixed mortgages? I want to compare them a gain the dates I was quoted by a other broker.\n\nCorrect transcription: Can you repeat the rates for the three and five year fixed mortgages? I want to compare them against the rates I was quoted by another broker.\n--\nIncorrect transcription: I got got charged interest on ly credit card but I paid my pull balance one day due date. I not missed a pavement year yet. Man you reverse the interest charge?\n\nCorrect transcription:',max_tokens=40,temperature=0.5,k=0,p=1,frequency_penalty=0,presence_penalty=0,stop_sequences=["--"],return_likelihoods='NONE')print('Prediction: {}'.format(response.generations[0].text))
model_size | xlarge |
frequency_penalty | 0 |
k | 0 |
max_tokens | 40 |
p | 1 |
presence_penalty | 0 |
stop_sequence | -- |
temperature | 0.5 |