text
stringlengths
0
3.02k
https://pastebin.com/
Pastebin.com - #1 paste tool since 2002!
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
[3/7/2024 12:44 AM] wildtang3nt
https://gists.github.com too
{Embed}
https://gists.github.com/
Discover gists
GitHub Gist: instantly share code, notes, and snippets.
https://images-ext-1.dis…om/opengraph.png
[3/7/2024 9:09 AM] .coreyp
For a pre-GPT chatbot we use Spacy NLP, you can get script the training based on some pre-supplied training. That would be a tried and true method, but not new and fancy. That said, if it works, it works - for a defined set of intents.
You could also just ask GPT to classify the intent from picking from a list.
[3/7/2024 9:12 AM] wildtang3nt
That's precisely what we want... doesn't need to be new or sexy
[3/7/2024 9:12 AM] wildtang3nt
just needs to work reliably and be extendable without huge effort 😛
[3/7/2024 9:12 AM] .coreyp
That'd be SpaCy, let me see if I can grab a link
[3/7/2024 9:12 AM] .coreyp
https://spacy.io/usage/training#config-custom
{Embed}
https://spacy.io/usage/training
Training Pipelines & Models · spaCy Usage Documentation
Train and update components on your own data and integrate custom models
https://images-ext-1.dis…ult.96b04585.jpg
[3/7/2024 9:13 AM] wildtang3nt
I vaguely recall reading some stuff about that one before, but I haven't familiarized myself fully, or even partially tbh
[3/7/2024 9:13 AM] wildtang3nt
but ya, I think you're onto something
[3/7/2024 9:13 AM] .coreyp
I'll see if I can find the code GPT whipped up to do the trainings
[3/7/2024 9:20 AM] .coreyp
This would be enough to get the training done, please excuse the lack of comments.
{Attachments}
https://cdn.discordapp.com/attachments/1210732510250541067/1215302940894560256/Utility_Functions.ipynb?ex=6773fd90&is=6772ac10&hm=04ec465d08bd2341c730a0d2d46ac22aae44ee23909d9a574244b1404e5c32aa&
[3/7/2024 9:21 AM] .coreyp
Then when you go to use it: nlp = spacy.load('../data/nlp_model')
[3/7/2024 9:48 AM] wildtang3nt
Thanks @Coreyp I'll have a look 👀
{Reactions}
👍
[3/7/2024 11:22 AM] wildtang3nt
ok wtf pushed the container size up by 600MB in the last 12 hour? lol
[3/7/2024 11:23 AM] wildtang3nt
I'm guessing `opencv-python` added to make PDF OCR work
[3/7/2024 2:53 PM] jannikstdl
Yup
[3/7/2024 2:54 PM] jannikstdl
I hate dependencys
[3/7/2024 2:55 PM] wildtang3nt
ya unfortunately there seems probably very little we could remove without also removing functionality
[3/7/2024 2:58 PM] jannikstdl
Yes our Dockerfile already looks very well optimized
[3/7/2024 2:59 PM] jannikstdl
Speaking of the Dockerfile we could merge the ENV Statements into one. Looks cleaner.