Giter VIP home page Giter VIP logo

Comments (5)

lwaekfjlk avatar lwaekfjlk commented on August 30, 2024

For the quality-based classification, it is data point character level filtering.

from sotopia-pi.

ruiyiw avatar ruiyiw commented on August 30, 2024

Note that the quality should be based on environment + agent (in the same environment, one agent may produce quality data while the other may not).

from sotopia-pi.

sharonwx54 avatar sharonwx54 commented on August 30, 2024

Currently, we add quality filtering by using the goal score in rewards for each episode logs. The idea is that, for a given dialogue, we use the average goal scores to determine if this dialogue is considered "good" in achieving the goal. For all dialogues within the same scenario, we use the average goal score to determine its relative stand. If the average goal score for a dialogue is below the scenario average, we should remove it, UNLESS the scenario average is too high (such as 10).

To avoid removing dialogues with high goal score but stand relatively low in the scenario, we use 7 as a lower bound threshold. If a dialogue's avg score is above 7, regardless of its stand in the scenario, we are going to include the dialogue.

Note that 7 comes from observing the distribution of easy scenario, and for now, we apply the same threshold for our testing data which contains hard scenario. It might worth lower the bar for hard scenario [DISCUSSION].

image

By using 7 threshold, we reduce 450 dialogues to 388 dialogues.

from sotopia-pi.

sharonwx54 avatar sharonwx54 commented on August 30, 2024

For the code we apply the filtering, it currently sits in https://github.com/XuhuiZhou/sotopia/tree/feature/log-filtering-for-ft. We are considering copy the main function/building blocks from sotopia and rather have these files on our sotopia-llm-ft repo, but this copy/paste has not been executed yet.

from sotopia-pi.

lwaekfjlk avatar lwaekfjlk commented on August 30, 2024

Finish in #58

from sotopia-pi.

Related Issues (20)

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.