Giter Site home page Giter Site logo

关于plac-knn-mt运行报错 about knn-box HOT 1 CLOSED

Asomey avatar Asomey commented on May 29, 2024
关于plac-knn-mt运行报错

from knn-box.

Comments (1)

Maxwell-Lyu avatar Maxwell-Lyu commented on May 29, 2024

是否方便提供一下您实际运行的脚本内容,每个脚本的输出,以及您的datastore这个目录下面最终的文件有哪些?

  • 您的运行步骤基本是正确的
    • PLAC从通用MT模型和领域内数据出发,保存mt_preds,即模型的预测结果,还有key和val。这里需要特别注意,plac-knn-mt 不能 进行inference
    • 用预测结果和val,可以计算出模型是否做对,即mt_known,并用key进行KNN检索,得到drop_index
    • PLAC是用来裁剪一个 已有 的datastore的,所以除了需要drop_index,还需要与其对应的一个普通datastore(必须要有key!)才能创建新的、裁减过的datastore
    • PLAC会顺便为新的datastore创建faiss_index

from knn-box.

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.