-
https://github.com/AaronTengDeChuan/CDT4UD_Chinese/blob/dc33f6f1492c939219b628a66b143c0bee7b203a/multi-task_learning_for_cdt--ud/Bi_LSTM_Model.py#L47
-
Should crf_pubmed_rct.json have
"classifier_feedforward": {
"input_dim": 600,
"num_layers": 2,
"hidden_dims": [300, 5],
"activations": ["relu", "linear"],
…
-
1、My python code:
```
import numpy as np
import random
import numpy as np
import math
def sigmoid(x):
return 1. / (1 + np.exp(-x))
def sigmoid_derivative(values):
return v…
-
我们的实验环境 : Python 3.5 Tensorflow 1.4.0 4x Nvidia Geforce 1080Ti
对代码进行了小幅调整以便在我们的环境上运行
第一个实验测试的是Sighan2005-PKU
但是,无论BI-LSTM-CRF还是ID-CNN-CRF 每次训练完第1个迭代后,验证集、测试集都只有0.58-0.62 然后提示 'Score too low, break …
-
测试脚本如下
https://github.com/bung87/bi-lstm-crf/blob/master/examples/decode_example.py
-
init_h1 = fluid.layers.fill_constant([num_layers*2, batch_size, hidden_size], 'float32', 0.0)
init_c1 = fluid.layers.fill_constant([num_layers*2, batch_size, hidden_size], 'float32', …
-
Hi, I got a error when I tried to execute create_model([6],bidirectional=True).
"List index out of range"
the problem came to line
temp = concatenate([bi_encoder_states[i],bi_encoder_stat…
-
I'm fairly new to this and for some reason I'm having ![crazy instabilities issues](http://139.82.47.36:8888/files/rrsayao/64%3B%20256%3B%2064%3B%2040%3B%2017%3B%20124%3B%200.2%3B%200.2%3B%20200%3B%20…
-
hi, I am curious why you don't conduct a experiment use Bi-LSTM? that will make it more comparable with the paper trick.
-
Thank you for awesome repo.
If i use Bi-LSTM and CTC, model will use 2 linear serial.
Is that correct ?
Thank you so much.