Giter Site home page Giter Site logo

数据 about dsre HOT 4 CLOSED

dair-iitd avatar dair-iitd commented on August 11, 2024
数据

from dsre.

Comments (4)

rathorevipul28 avatar rathorevipul28 commented on August 11, 2024

Yes, this code works even when there is only one relation between entities e1 and e2, and it can handle the 'NA' class as well!

from dsre.

wangxinzhe123 avatar wangxinzhe123 commented on August 11, 2024

Because the maximum number of tokens allowed to be entered by bert is 512, but the length of the connected statements in my bag exceeds 512. If I don't want to discard the data after 512 bits, is there a solution to this situation?
(因为bert允许输入的最大tokens数目为512,但我bag中的语句连接之后长度超过512,如果我不想舍弃512位之后的数据,请问这种情况有解决办法吗?)

from dsre.

rathorevipul28 avatar rathorevipul28 commented on August 11, 2024

Even in our case, the length of combined sentences exceeded 512. But we showed in our paper that this doesn't hurt the performance compared to the baseline models.
But you can try other encoders like AllenNLP's longformer (https://github.com/allenai/longformer) supporting upto 16k tokens in the sequence.
Also checkout Transformer XL (https://github.com/kimiyoung/transformer-xl).

from dsre.

wangxinzhe123 avatar wangxinzhe123 commented on August 11, 2024

好的,非常感谢

from dsre.

Related Issues (3)

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.