-
Hello,
I am to trying to extract contextual embeddings by feeding train.json to 'extract_features.py'.
example: my input file(train.json file) is as follows:
----------------------------------…
-
Hi,
my goal is to extract contextual word embeddings from last layer of BioBert and add additional features, before performing QA fine-tuning. please suggest me how to achieve this. also I found that…
-
**System**
- OS: Linux
- Python version: 3.6.6
- AllenNLP version: 0.8.4
- PyTorch version: 1.1.0
**Question**
So after reading a couple issues regarding statefulness and non-deterministic…
-
Hi,
the upcoming 1.0 version of `pytorch-pretrained-bert` will introduce several API changes, new models and even a name change to `pytorch-transformers`.
After the final 1.0 release, `flair` co…
-
Good afternoon,
First at all, congrats on the nice implementation! The demo is beautiful :smile:
I have two small questions:
* I was skimming through the posts/articles and wondering if maybe …
-
Hi,
I am getting this error while running the below code:
#### Code:
```python
class SequenceLabeler(pyvw.SearchTask):
def __init__(self, vw, sch, num_actions):
# you must must m…
-
This is a code that I am using:
```
from flair.embeddings import CharacterEmbeddings
c_embeddings = CharacterEmbeddings ()
word_string_1 = "Example"
word_string_2 = "Example"
c_embeddings_…
-
The sentence_embeddings for bert are broken, the output is the same for all sentences.
```python
from pyspark.sql.functions import *
from pyspark.sql.types import *
from sparknlp.base import …
-
Trying to explore the contxtual side of Flair embeddings with a simple example:
```
# your query
query = 'The capital of Washington'
# some texts
sentences = [
'George Washington address…
-
Hi Separius,
As you have described how the sentence embedding work, I have some questions about applying a model into the framework. For example, for doc2vec, what is the encoder to generate contextu…