linverlan t1_jd9vckl wrote
I just wrote this computer science domain chatbot, it’s probably SOTA. You can just copy the code below and run it locally on your own machine. Let me know if you have any dependency issues, I can share a yaml file.
from googlesearch import search
import sys
query = ' '.join(sys.argv[1:]) + ' stackoverflow'
out = list(search(query, num=1, stop=1))
print(f"Answer is probably at: {out[0]}")
currentscurrents t1_jdaqd09 wrote
Google search uses BERT, you're just calling a language model via an API.
linverlan t1_jddepw6 wrote
lol you got me there. Although we are probably saving some compute by not generating.
Viewing a single comment thread. View all comments