Community meeting: generate Wechaty code with LLM & FLAML

FLAML是一个轻量级Python库,专注于机器学习和AI操作的自动化,包括模型和超参数的选择。一篇博客文章展示了如何通过适应性使用多个GPT模型,在提高HumanEval基准测试的准确性(从68%到90%)的同时,降低推理成本18%,优于仅使用GPT-4。Wechaty社区正在开发一个聊天项目,允许开发者通过说明其聊天机器人需求来生成代码。
摘要由CSDN通过智能技术生成

FLAML (Fast Library for Automated Machine Learning, https://github.com/microsoft/FLAML) is a lightweight Python library for efficient automation of machine learning and AI operations, including selection of models, hyperparameters, and other tunable choices of an application (e.g., inference hyperparameters for foundation models, configurations in MLOps/LMOps workflows, pipelines, mathematical/statistical models, algorithms, computing experiments, software configurations).

It has a very interesting blog post: Achieve More, Pay Less - Use GPT-4 Smartly tells us a case study using the HumanEval benchmark shows that an adaptive way of using multiple GPT models can achieve both much higher accuracy (from 68% to 90%) and lower inference cost (by 18%) than using GPT-4 for coding.

As our Wechaty community is working on a chat project (https://wechaty.js.org/chat) for helping our open-source community developers to not only easily get answer of documentations, but also can ask for generated codes by just telling system their chatbot requirements, as the following screenshot demostrated:

Write a chatbot on WeChat using Wechaty SDK v1.x (with WechatyBuilder) to monitor a room with the following features:

  1. When a user sends a text message to the bot, if the text is “Room A”, then add the user to the “Room A” group; if the text is “Room B”, then add the user to the “Room B” group;
  2. When a user sends an ad message to the “Room B” group:
    1. for the first time, send a warning message to them;
    2. for the second time, remove the user from the room;

Wechaty Chat

Wechaty Community Meeting with Author of FLAML

In this meeting, we invited Chi Wang, the author of FLAML, fireside chat with Tianwei Yue from Wechaty community LLM project.

image credit: The New Open Source LLM that Can Generative Code in Over 80 Programming Languages

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值