Coder Social home page Coder Social logo

neuralchat_for_wanbiao's Introduction

Code_for_NeuralChat

LLM参数内含大量知识,具有一定的逻辑能力,但是想要作为机器人的控制策略还需要进一步加强。但是LLM结合思维链可以生成更加完备的逻辑。本项目将Python语言作为一种思维链的中间表达。由LLM生成这种中间表达的思维链,然后再执行这些Python文件,进而控制机械臂。通过少量示例(few-shot prompting),LLMs 能够自主地重新组合 API 调用,生成新的策略代码

本项目,仅作为复旦大学课程作业。

硬件要求

  1. CPU: Intel(R) Xeon(R) Gold 6430 或 Intel(R) Xeon(R) Gold 6430
  2. Memory:120G 以上
  3. GPU:L20-48G 或 RTX 4090-24G
  4. OS: Ubuntu 22.04.1 LTS

注意:

  1. NeuralChat服务端使用Meta-Llama-3-70B-Instruct生成的Policy质量更高
  2. 70B模型代码质量更高,依自己情况决定是否要量化
  3. Server端的RestFul API 需要进行调整以适配OpenAI的调用接口,主要调整/v1/completions接口,调整内容,见《操作手册.pdf》
  4. 对于temperature应该始终最小,这样生成的Policy代码质量更高。

参考代码:https://github.com/google-research/google-research/tree/master/code_as_policies

下面实验的演示视频

__temp__.mp4
real.mp4

neuralchat_for_wanbiao's People

Contributors

wanbiao1993 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.