-
Notifications
You must be signed in to change notification settings - Fork 0
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
GPT Statement cleaning #9
Comments
Lets have table with the cleanest statements from the GPT pipeline,
|
Here's what I think will work. Proper nouns and names can be detected by For example, given the statement with import spacy
nlp = spacy.load("en_core_web_trf")
doc = nlp("if jake considers john's example he would become the strongest and fittest person ever")
for tok in doc:
if tok.pos_ == "PROPN":
print(tok) The output would be
From this we can do 2 things:
|
Cool, I think removing them with GPT is mostly ok, except when it removes them too much, in which case it tends to make the statement meaningless, but in most cases, those are actually statements we should drop. e.g., |
Run multi stage pipeline for getting only very clean statements.
They should be clear, and make sense.
Pipeline:
Meta tasks:
The text was updated successfully, but these errors were encountered: