Questions tagged [allennlp]

An open-source NLP research library, built on PyTorch

Filter by
Sorted by
Tagged with
0
votes
2answers
15 views

AllenNLP installation issue - No matching distribution found for torchvision<0.9.0,>=0.8.1

As per demos, we are expected to install AllenNLP using following command: pip install allennlp==2.1.0 allennlp-models==2.1.0 But it always throws error: ...
0
votes
0answers
40 views

Getting Word Embeddings for Sentences using long-former model?

I am new to Huggingface and have few basic queries. This post might be helpful to others as well who are starting to use longformer model from huggingface. Objective: Create Sentence/document ...
0
votes
1answer
25 views

How does the character convolution work in ELMo?

When I read the original ELMo paper (https://arxiv.org/pdf/1802.05365.pdf), I'm stumped by the following line: The context insensitive type representation uses 2048 character n-gram convolutional ...
1
vote
1answer
64 views

NLP approaches to infer Processes from Text

I would like to use NLP techniques to infer a process out of raw text. For example, if I have a sentence like: Recruitment is about attracting and selecting the right person for the job. To get the ...
1
vote
1answer
141 views

How to use regularizer in AllenNLP?

Apology if this sounds a bit lame. I am trying to use Allennlp for my NLP tasks and would like to use regularization to reduce overfitting. However from all the online tutorials, all the regularizers ...
3
votes
1answer
706 views

SpaCy vs AllenNLP?

I have used a little of both spaCy and allenNLP in my NLP projects. I like them both as they work very well with PyTorch (my DL framework choice!). But, I still cannot decide which one to master in a ...