Giter VIP home page Giter VIP logo

nlp-programs's Introduction

NLP Programs

nlp-programs's People

Contributors

andyandviky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nlp-programs's Issues

我结果跑不到72

我想问下你们能跑到0.72+嘛,我在a类问题能跑到0.768+,但是b类问题只能到0.64+,综合是0.70+

sohu2021代码报错

你好,代码有个地方报错,查看报错字符串为 15,没有切分为1, 5

File “D:\AI\model\自然语言处理\NLP-Programs\03_NLI\dataset.py”, line 157, in
datas[:, 0] = [self.delete_stop_word(self.tokenizer.tokenize(i)) for i in datas[:, 0]]
File “C:\Users\ADMIN\AppData\Local\Programs\Python\Python38\lib\site-packages\pytorch_pretrained_bert\tokenization.py”, line 110, in tokenize
for token in self.basic_tokenizer.tokenize(text):
File “C:\Users\ADMIN\AppData\Local\Programs\Python\Python38\lib\site-packages\pytorch_pretrained_bert\tokenization.py”, line 217, in tokenize
text = self._clean_text(text)
File “C:\Users\ADMIN\AppData\Local\Programs\Python\Python38\lib\site-packages\pytorch_pretrained_bert\tokenization.py”, line 308, in _clean_text
cp = ord(char)
TypeError: ord() expected a character, but string of length 2 found

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.