Giter Site home page Giter Site logo

Comments (3)

km1994 avatar km1994 commented on May 17, 2024

谢谢大佬提醒,已经修正

from nlp_paper_study.

LiuChen19960902 avatar LiuChen19960902 commented on May 17, 2024

哈喽,我又来啦~
想请教一下关于SBERT的计算时间问题,在1.1.3问题分析中,SBERT先对每个句子进行一次离线的embedding计算,然后存下来,这一步我理解。但是后面关于“在计算相似的时候,只需要将句子的 embedding 输入到模型中两两之间计算cosine similarity就可以”,将句子的embedding输入到模型中,不还是要用BERT进行一次inference嘛,这样不就仍然是BERT+Cos sim。

from nlp_paper_study.

km1994 avatar km1994 commented on May 17, 2024

为什么需要呢?SBert embedding 一次就好了,后面只需要 Cos 就好了,Bert 因为每次计算相似度都需要 把两个句子拼接,所以 需要重新 embedding

from nlp_paper_study.

Related Issues (8)

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.