textclf icon indicating copy to clipboard operation
textclf copied to clipboard

TextClf :基于Pytorch/Sklearn的文本分类框架,包括逻辑回归、SVM、TextCNN、TextRNN、TextRCNN、DRNN、DPCNN、Bert等多种模型,通过简单配置即可完成数据处理、模型训练、测试等过程。

Results 10 textclf issues
Sort by recently updated
recently updated
newest added

Bumps [numpy](https://github.com/numpy/numpy) from 1.18.1 to 1.22.0. Release notes Sourced from numpy's releases. v1.22.0 NumPy 1.22.0 Release Notes NumPy 1.22.0 is a big release featuring the work of 153 contributors spread...

dependencies

在完成RNN/LSTM模型的训练之后,使用指令`textclf --config-file test_rnn.json test`进行模型测试的时候,报错如下: Load checkpoint from ckpts/best.pt.. Traceback (most recent call last): File "d:\anaconda3\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "d:\anaconda3\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File...

pip装的 (base) vocust001@ubuntu:~/anaconda3/lib/python3.7/site-packages$ textclf Traceback (most recent call last): File "/home/vocust001/anaconda3/bin/textclf", line 11, in load_entry_point('textclf==0.1.0', 'console_scripts', 'textclf')() File "/home/vocust001/anaconda3/lib/python3.7/site-packages/pkg_resources/__init__.py", line 490, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/home/vocust001/anaconda3/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2859,...

希望能有一个可用的 requirements.txt

Bumps [torch](https://github.com/pytorch/pytorch) from 1.4.0 to 1.13.1. Release notes Sourced from torch's releases. PyTorch 1.13.1 Release, small bug fix release This release is meant to fix the following issues (regressions /...

dependencies

Bumps [scipy](https://github.com/scipy/scipy) from 1.4.1 to 1.10.0. Release notes Sourced from scipy's releases. SciPy 1.10.0 Release Notes SciPy 1.10.0 is the culmination of 6 months of hard work. It contains many...

dependencies

Bumps [transformers](https://github.com/huggingface/transformers) from 2.4.1 to 4.30.0. Release notes Sourced from transformers's releases. v4.30.0: 100k, Agents improvements, Safetensors core dependency, Swiftformer, Autoformer, MobileViTv2, timm-as-a-backbone 100k Transformers has just reached 100k stars...

dependencies

Bumps [joblib](https://github.com/joblib/joblib) from 0.14.1 to 1.2.0. Changelog Sourced from joblib's changelog. Release 1.2.0 Fix a security issue where eval(pre_dispatch) could potentially run arbitrary code. Now only basic numerics are supported....

dependencies

ERROR: Could not build wheels for scikit-learn, tokenizers, which is required to install pyp roject.toml-based projects