Skip to main content

Blog

Learn About Our Meetup

5000+ Members

MEETUPS

LEARN, CONNECT, SHARE

Join our meetup, learn, connect, share, and get to know your Toronto AI community. 

JOB POSTINGS

INDEED POSTINGS

Browse through the latest deep learning, ai, machine learning postings from Indeed for the GTA.

CONTACT

CONNECT WITH US

Are you looking to sponsor space, be a speaker, or volunteer, feel free to give us a shout.

[P] [UPDATE] AI Against Humanity: Now with an AI opponent! Running in the browser with TFJS

Original post here: https://www.reddit.com/r/MachineLearning/comments/bvwvoo/p_ai_against_humanity_play_cards_against_humanity/

Thanks for your positive feedback in my last post! 🙂 I kept working on the project, adding new features and cards, and collecting all user choices to train a simple AI you can play against!

Try it out: https://www.aiagainsthumanity.app/

I tried to be super frugal and everything works 100% out of your browser via a static website. A blog post detailing the process is in the works, but in short: I generated BERT embeddings for each of the cards, then applied PCA to reduce the dimension to something a browser / mobile device can easily handle. Then I trained a small neural network that takes a question-answer pair and outputs a probability. This then gets loaded in the browser via TensorFlow.js.

Please let me know what you think or if you run into any trouble. Ideas are welcome as well! And yes, I know multiplayer would be amazing, but then I’d have to set up a real server and – god forbid – actually pay hosting costs 😱

submitted by /u/cpury
[link] [comments]