Coder Social home page Coder Social logo

boardgamefinds's Introduction

Project Overview - Board Game Finds

After Llama 2 was open-sourced, I wanted to see what type of novel content I could create and how that would compare against OpenAI's offering. Of the 2500+ pages, half of the content on boardgamefinds.com is generated by OpenAI's GPT-3.5 Turbo, and the other half is generated by Llama 2. While getting to "quality" outputs with Llama took more trial and error, the content is nearly indistinguishable from that of OpenAI. Initially, I intended this to be a small project. However, if I were to invest more time, I'd probably start with a VectorDB and LangChain, as well as trying to do in-browser recommendations using ONNX Web Runtime

Build with:

  • NextJS 13 + Typescript
  • TailwindCSS
  • MongoDB Atlas
  • Running on Vercel/Edge

Content Generation

Generating everything took place over three steps. First, I compiled a dataset of board games and their relationships using sites like Board Game Atlas, Board Game Geek, and others.

Next, I converted these relationships into JSON format and prepared a template. Finally, I fed them into Guidance or Llama.Cpp to generate the markdown. This markdown is served from MongoDB Atlas and converted to HTML on-the-fly using react-markdown.

The result is a site with 2500+ pages of content, all generated by either GPT-3.5 Turbo or Llama 2.

Step 1: Data Sample

{ "Hand Management": ["Terraforming Mars", "Brass: Birmingham", "Ark Nova"] }

Step 2: Template Creation

{{#system~}}
  Your are a an expert Game Designer and Copy Writer.
{{~/system}}

{{#user~}}
  Write a short entry for the Board Game Mechanic Encyclopedia on "{{mechanic}}",
  using
  {{n_1}},
  {{n_2}},
  {{n_3}}
  as examples to compare and contrast how the mechanic effects gameplay and why
  people enjoy it. The entry must be concise and comprehensive overview with a #
  Overview, # Gameplay/Functionality, # Examples from Popular Games sections. #
  Overview
{{~/user}}

boardgamefinds's People

Contributors

mcgeestocks avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.