Git Product home page Git Product logo

gazetteer-ner-acl19's Issues

vocab.get_vocab_size('tokens')的问题

您好,请问一下我用不同的语料做训练,但是tokens.txt和预训练的embedding都一样,为什么vocab.get_vocab_size('tokens')返回的size会不一样呢
谢谢

subtagger训练问题

hello,我尝试运行 allennlp train configs/softDictionary_HSCRF.config -s dump_directory/ --include-package models 来预训练subtagger,但是报了错误,如下:
image

CUDA out of memory

I am keep getting error - "CUDA out of memory", even though I have reduced batch size (to 2) and model size. Tried to use multiple GPUs, doesn't work. Any ideas?

issue while training

Hi I am trying to train this on CPU and I am getting the below error.

result = self.forward(*input, **kwargs)
File "./models/HSCRF_SoftDict.py", line 228, in forward
] += self.end_token_embedding.cuda(util.get_device_of(spans))
RuntimeError: Device index must not be negative

I am not very much aware of torch. Let me know how to resolve it.

allennlp的参数加载问题

请问您有没有遇到过子分类器单独预测时候用model.tar.gz加载模型得到的参数和在代码中用.th文件加载的参数不一致的情况?

subtagger

请问如何预训练一个subtagger呢,因为想把这个框架用在别的gazetteer上

HSCRF+concat和HSCRF+gazemb代码上传

hi,我想请问一下,论文里另外两个模型HSCRF+concat和HSCRF+gazemb代码啥时候能上传啊?
HSCRF+concat主要用的哪些特征啊?

Model and Data not available

Unable to access the data on the page : "https://www.jeffliu.page/files/softdict.zip" . Probably the page is down.

Throws this error :

2020-10-16 01:15:42,574 - WARNING - urllib3.connectionpool - Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f60d4afb240>: Failed to establish a new connection: [Errno 111] Connection refused',)': /files/DATA/conll2003/train.txt

Viterbi预测问题

能问一下这个算法Viterbi的动态规划是怎么写的吗,多加了一层循环不太会了,代码看的有点儿不懂
谢谢

subtagger问题

按照soft_dictionary_span_classifier_HSCRF.py里的写法,是对gazetteers的条目进行了序列标注而不是像论文里写的是对条目进行分类呀

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.