Giter Site home page Giter Site logo

grte's People

Contributors

neukg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

grte's Issues

crossattention的创建

crossattention的创建直接Bertconfig文件那么他和创建的self-attention应该没有区别把

The return value is not match

The code of data_generator.iter() in main.py is
token_ids, _ ,mask = self.tokenizer.encode(d['text'], max_length=self.max_len)
while the tokenizer in bert4keras only return 2 value, first_token_ids and first_segment_ids, how do you make it?

The problem of extracting entity pairs

Hello, thanks a lot for you releasing the source code!
As the paper says, there are three routes to extract entity pair. However, I did only see two routes in the source code. How do you operate the second search route ( from tail tokens to head tokens )? I think you just put all the entity pairs into a big list and it's difficult to sovle the overlapping problem especially in "MMH→MMT”.
Thank you for your kind help. I'm looking forward to your reply.

encode() got an unexpected keyword argument 'max_length'

请问一下,token_ids,mask = self.tokenizer.encode(
d['text'], max_length=self.max_len)这段代码报错,怎么修改

File "/ddnstor/imu_tzt1/sulisha/GRTE-main/main.py", line 48, in iter
d['text'], max_length=self.max_len
TypeError: encode() got an unexpected keyword argument 'max_length'

bert4keras

Hi, may I ask what the version of bert4keras is

实验结果

您好,能问一下关于不同重叠模式和不同三元组数量的F1得分的计算源码吗

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.