FengZiYjun
6839bb91cc
Add auto type detection/conversion in FieldArray
* In init, detect content type to be Python int, float, or str.
* In append(), check type consistence.
* In init & append(), int will be cast into float if they occur together.
* Map Python type into numpy dtype
* Raise error if type detection fails.
7 years ago
FengZiYjun
da901ed5b0
* DataSet __getitem__ returns copy of Instance
* refine interface of set_target & set_input
* rename DataSet.Instance into DataSet.DataSetIter
* remove unused methods in DataSet.DataSetIter
* remove __setattr__ in DataSet; It is dangerous.
* comment adjustment
7 years ago
FengZiYjun
117b12a698
* update README.md
* remove torchvision in requirements.txt
7 years ago
yhcc
15262bda64
Merge pull request #107 from yhcc/dataset
A brand new version update (0.1.1)
7 years ago
yunfan
26a4324342
fix test
7 years ago
yunfan
04206f8099
Merge branch 'master' into dataset-res
7 years ago
yunfan
2aaa381827
refine git commits
7 years ago
yunfan
e1e0661deb
add doc comments
7 years ago
yunfan
941b88f26b
fix dataset.read_csv
7 years ago
yunfan
4f587f7561
fix trainer & dataset
7 years ago
yh
e4c1ab60a6
prepare for release
7 years ago
yh
ffc963190e
修改dataframe.read_csv
7 years ago
yh
1d8f1227d7
dataset.read_csv
7 years ago
yunfan
1c34a0b732
update trainer
7 years ago
yunfan
b78d86584c
add validate_every in trainer
7 years ago
yunfan
f3bb3cb578
update trainer, tester, example model
7 years ago
yh
a3bf647713
check code修改
7 years ago
yunfan
44e098e285
update trainer, tester, example model
7 years ago
yh
4a4b001047
trainer修改
7 years ago
yh
f7275339ff
trainer check_code调整
7 years ago
yh
d9db503b93
bug fix in trainer
7 years ago
FengZiYjun
3d66975091
* refine code comments
* refine code style
* set up unit tests for Batch, DataSet, FieldArray
* remove a lot of out-of-date unit tests, to get testing passed
7 years ago
yunfan
74a697651e
- fix Dataset & Trainer
- update CNNText model
7 years ago
FengZiYjun
c4103561a8
* fix bugs in DataSet & Instance
* add more code comments
* fix tester
* refresh code styles
7 years ago
yh
0836ce006f
尝试提供check parameter的功能
7 years ago
yunfan
92da53a65b
fix Dataset
7 years ago
FengZiYjun
837bef47dc
* add unit tests for instance, vocabulary
* remove and fix other unit tests
* add more code comments
7 years ago
yunfan
c7923c82e7
update check_args and add Dataset get_input/target_name
7 years ago
yh
ce3b002263
check code init
7 years ago
yunfan
cbf54c1918
add args check & build function
7 years ago
yunfan
5abd2bf4d5
fix dataset & instance
7 years ago
yunfan
713510f65b
update Instance
7 years ago
yunfan
68d0254187
init check_*
7 years ago
yunfan
d643a7a894
update set_target, batch's as_numpy
7 years ago
yunfan
2fe39b7813
fix log in trainer & tester
7 years ago
FengZiYjun
80884322c2
* add DataSet.split()
* delete field.py
* remove logger in all codes
* adjust arguments of Trainer
7 years ago
yh
0292350c7a
vocabulary增加方法
7 years ago
yunfan
3a42c84a47
use counter in vocab, add a load func in baseloader
7 years ago
yunfan
8ee94eb6d5
make import more friendly, Dataset support slice.
7 years ago
FengZiYjun
090f7aef5b
* fixing unit tests
7 years ago
yh
1d5bb0a3b6
bug fix“
7 years ago
yh
4149eb9c06
add apply to dataset
7 years ago
yh
8906155ca2
为api建立一个Analyzer
7 years ago
FengZiYjun
e9d7074ba1
* delete readme_example.py because it is oooooooout of date.
* rename preprocess.py into utils.py, because nothing about preprocess in it
* anything in loader/ and saver/ is moved directly into io/
* corresponding unit tests are moved to /test/io
* delete fastnlp.py, because we have new and better APIs
* rename Biaffine_parser/run_test.py to Biaffine_parser/main.py; Otherwise, test will fail.
* A looooooooooot of ancient codes to be refined...........
7 years ago
yunfan
b6a0d33cb1
add parser api
7 years ago
yh
8d7eae8ae9
增加api的test功能
7 years ago
yh
77786509df
pos与cws开发上传
7 years ago
yh
7d97e9365d
增加新的processor“
7 years ago
yh
1496031182
新增pos output processor
7 years ago
yh
d5afffee73
新增端到端pos处理到parser的过度代码
7 years ago