eggsyntax / py-user-knowledge Goto Github PK
View Code? Open in Web Editor NEWPredicting demographics of users with GPT based on text they've written
Predicting demographics of users with GPT based on text they've written
Series of experiments testing how well LLMs (mainly GPT-3.5) can predict demographics from text (mainly OKCupid profiles). To run from the command line: - Make sure that OPENAI_API_KEY is defined in your environment - Install packages (untested as yet, please let me know if you encounter difficulties): `conda install --file conda_requirements.txt` - `python test-demographics.py` NOTE: this is HORRIBLE CODE. This was my experiment with letting GPT-4 generate most of the individual functions, and then it's just patches on patches from there. It suffers further from my initial naivete about typical ML conventions for eg data representation, so I'm munging data back and forth in a bunch of places. Ideally I will rewrite it when I get time, but also when do I ever get time? Caveat emptor. Note that despite using temperature=0, the probability distribution predicted by GPT will vary somewhat between runs, so results will differ.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.