Yige XU
9dc32f68a7
Merge pull request #50 from h00Jiang/master
fix a bug (when restore the pickle_file , cannot restore dev.pkl)
7 years ago
FengZiYjun
9d6b0daa99
Prepare for CWS service:
- specify the name of the config file and the name of corresponding section where model init params store.
- fastnlp.py needs load_pickle to get dictionary size and the number of labels
- other minor adjustments
7 years ago
FengZiYjun
625b72691b
edit fastnlp run method, get ready for CWS
- change inputs of fastnlp from string to list of strings
- adopt flexible outputs according to diff tasks
7 years ago
Coet
b76d3d0827
Merge pull request #51 from xuyige/test_code
Test code
7 years ago
Coet
50b5345539
check if data_dev.pkl exists
In line 100, add a if statement to check whether there exists a file named "data_dev.pkl" in the pickle path. If not, the file won't be loaded.
7 years ago
xuyige
beee885689
add test code for testing variational rnn
7 years ago
xuyige
2bc54c6d17
add test code for testing masked rnn
7 years ago
xuyige
b362a810e0
fix a bug in testing code
7 years ago
xuyige
c77621292b
fix a bug in char_language_model.py
7 years ago
xuyige
650838d118
fix a bug in step() of MaskedRNNBase
7 years ago
h00Jiang
18586c9c6d
fix a bug (when init_emb is not None , get an error)
7 years ago
h00Jiang
5a70d65591
fix a bug (when restore the pickle_file , cannot restore dev.pkl)
7 years ago
lyhuang
3fde835638
docs/requirements.txt
7 years ago
lyhuang
96cf033689
docs/
7 years ago
lyhuang
41c7524d4f
docs/requirements.txt
7 years ago
xuyige
8899b44add
fix a bug
7 years ago
xuyige
7a54a20908
add codes testing utils
7 years ago
xuyige
246908bf45
find a bug that bilinear must have bias
7 years ago
xuyige
08e924b54f
add test code for testing preprocess.py
7 years ago
xuyige
812160493e
add test code for testing trainer
7 years ago
xuyige
e58295d657
add test code for testing other modules
7 years ago
xuyige
ff37b03670
add test code for testing loader
7 years ago
xuyige
d6d92010e0
add test code for testing action.py
7 years ago
Coet
96391d6ab3
Merge pull request #46 from fastnlp/modify-readme-example
modify readme example
7 years ago
Xipeng Qiu
47ddb24d1d
modify readme example
7 years ago
Coet
9b7ad27616
Merge pull request #44 from choosewhatulike/master
add MLP decoder
7 years ago
Coet
aea53c1833
Merge pull request #43 from FengZiYjun/master
New Trainer Initialization Interface
7 years ago
choosewhatulike
b54713d283
add MLP decoder
7 years ago
FengZiYjun
2df8eb740a
Updates to core, loader:
- add Loss, Optimizer
- change Trainer & Tester initialization interface: two styles of definition provided
- handle Optimizer construction and loss function definition in a hard manner
- add argparse in task-specific scripts. (seq_labeling.py & text_classify.py)
- seq_labeling.py & text_classify.py work
7 years ago
Coet
ceac3f2e1f
Merge pull request #38 from FengZiYjun/new_updates
New updates
7 years ago
Coet
edb3b1341b
Merge pull request #2 from FengZiYjun/new_updates
New updates
7 years ago
Coet
c871d66ed7
Merge pull request #37 from keezen/master
Update metrics and figure in readme.
7 years ago
FengZiYjun
fac830e1cd
fix bugs and clean up
7 years ago
lyhuang
6fe431833a
docs/requirements
7 years ago
lyhuang
f2676d8927
docs更新
设置了模板,对fastNLP文件夹下的内容生成了文档
7 years ago
Ke Zhen
3ab8950d8d
Update metrics and figure in readme.
7 years ago
FengZiYjun
4c8c2dfdb8
updates to core, loader, test:
- move preprocess.py from loader/ to core/
- changes to interface of preprocess: 1. add run method, to run the main processing 2. add cross validation split 3. add return value 4. merge subclasses
- Trainer supports cross validation
- add data as arguments in Trainer.train & Tester.test
- add readme.example.py, to run the example program shown in README.md
- other corresponding changes
7 years ago
Coet
fc7dd7eced
Merge pull request #33 from FengZiYjun/master
Updates to cores, loader, saver
7 years ago
Coet
836f05a8cc
Merge pull request #1 from FengZiYjun/FengZiYjun-patch-1
Update .travis.yml
7 years ago
Coet
1d000d3e39
Update .travis.yml
7 years ago
Coet
dfe0945893
Update .travis.yml
7 years ago
Xipeng Qiu
2f83010d9d
Merge pull request #32 from choosewhatulike/master
add a new chinese word segmentation model
7 years ago
FengZiYjun
80baf35765
add logging in Trainer & Tester
- see fastNLp/saver/logger.py to know how to create and use a logger
- a log file named "train_test.log" will be created in the same dir as the main file where the program starts
- this file records all important events happened in Trainer & Tester's methods
7 years ago
Ziyuan Feng
9e29fb2262
Merge branch 'master' of https://github.com/fastnlp/fastNLP
7 years ago
choosewhatulike
fb20e87321
add chinese word segmentation model
7 years ago
Xipeng Qiu
ad3b59b11c
Update README.md
7 years ago
Coet
9bc30f1705
Merge pull request #29 from keezen/master
Update readme, conv and max_pool
7 years ago
Coet
ffe7c26369
Merge branch 'master' into more_code_comments
7 years ago
Xipeng Qiu
abbe423dbe
Update README.md
7 years ago
choosewhatulike
1146ef0825
fix test_metrics
7 years ago