Git Product home page Git Product logo

llmriddles's Introduction

LLM Riddles

简体中文| English(https://github.com/qfc123/LLMRiddles/blob/main/README_en.md)

🤔 什么是LLM Riddles

欢迎来到 LLM Riddles!这是一个与语言模型斗智斗勇的游戏。在游戏中,你需要构造与语言模型交互的问题,来得到符合要求的答案。在这个过程中,你可以开动脑筋,用你想到的所有方式,让模型输出答案要求的结果。

👾 如何试玩

我们提供了在线版本以供玩家直接访问试玩:

本地部署可以通过以下方式:

ChatGPT + 中文

QUESTION_LANG=cn QUESTION_LLM='chatgpt' QUESTION_LLM_KEY=<your API key> python3 -u app.py

ChatGPT + 英文

QUESTION_LANG=en QUESTION_LLM='chatgpt' QUESTION_LLM_KEY=<your API key> python3 -u app.py

LLaMA2-7b + 中文

QUESTION_LANG=cn QUESTION_LLM='llama2-7b' python3 -u app.py

LLaMA2-7b + 英文

QUESTION_LANG=en QUESTION_LLM='llama2-7b' python3 -u app.py

🧑‍💻 为什么制作这个游戏

我们的目标是通过这一游戏,让参与者深入领略到提示工程(prompt engineering)和自然语言处理的令人着迷之处。这个过程将向玩家们展示,如何巧妙地构建提示词(prompts),以及如何运用它们来引发人工智能系统的惊人反应,同时也帮助他们更好地理解深度学习和自然语言处理技术的不可思议之处。

🙋 如何提交设计好的关卡

如果有好玩的问题或想法,欢迎玩家提交自己的创意 问题的设计格式应包含以下几点:

  • Pull Request标题,示例:feature(username): 章节X-关卡设计
  • 希望被提及的ID
  • 对应章节问题文件的修改
  • _init_.py的修改

✍️ 未来计划

  • 支持自定义关卡
  • 在线试玩链接
  • Hugging Face Space 链接
  • 支持Mistral-7B(英文)
  • 支持ChatGLM(中文)
  • 支持百度文心(中文)
  • LLM 推理速度优化

🌟 Special Thanks

🏷️ License

All code within this repository is under Apache License 2.0.

(back to top)

llmriddles's People

Contributors

paparazz1 avatar hansbug avatar tutuhuss avatar qfc123 avatar zjowowen avatar cxumol avatar karroyan avatar

Stargazers

 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.