- request your personal data archive. Follow the directions here
- There will be a file called
data/tweets.js. Mine had a single variable assigned to an array of tweet objects. Edit it, leave only the array and rename it to tweets.json. pip install -r requirements.txt- run
python embed-tweets-instructor.pyto create embeddings for all your tweets using the instructorXL model. This model is large, and it will take a while to download. I tested this on a GPU with 8GB of VRAM, not sure if it works with something smaller. You can easily change this code to use smaller models. - run
python search-instructor.pyto run semantic queries.
-
Notifications
You must be signed in to change notification settings - Fork 4
dbasch/semantic-search-tweets
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Run semantic queries over your twitter history
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published