main.py Shawn1993/cnn-text-classification-pytorchPublic Notifications Fork283 Star982 Code Issues6 Pull requests2 Actions Projects Security Insights More master BranchesTags cnn-text-classification-pytorch/main.py/ Jump to rriva002Add files via upload...
pytorch 1.1 tqdm sklearn tensorboardX 中文数据集 我从THUCNews中抽取了20万条新闻标题,已上传至github,文本长度在20到30之间。一共10个类别,每类2万条。 类别:财经、房产、股票、教育、科技、社会、时政、体育、游戏、娱乐。 数据集划分: 数据集数据量 ...
Code Issues Pull requests TextClf :基于Pytorch/Sklearn的文本分类框架,包括逻辑回归、SVM、TextCNN、TextRNN、TextRCNN、DRNN、DPCNN、Bert等多种模型,通过简单配置即可完成数据处理、模型训练、测试等过程。 sentiment-analysis label svm word2vec pytorch logistic-regression document-classification glove configurable...
Text classification implementation based on TextCNN and transformers.BertTokenizer. Includes training, prediction, data loading, and accuracy evaluation. - NeoTse0622/TextCNN-pytorch
The aim of this repository is to show a baseline model for text classification through convolutional neural networks in the PyTorch framework. The architecture implemented in this model was inspired by the one proposed in the paper: Convolutional Neural
pip3 install torch # conda install pytorch pip3 install pytextclassifier orgit clone https://github.com/shibing624/pytextclassifier.git cd pytextclassifier python3 setup.py install UsageText ClassifierEnglish Text ClassifierIncluding model training, saving, predict, evaluate, for example examples/lr...
练习, 基于torchtext,huggingface,pytorch,在一个中文多分类任务和一个英文二分类任务上实验了TextCNN,BERT和XLnet三个模型。 - joshuaWang-bit/Textclassification-pytorch
方法部分对每个模型及其结构给出简要介绍,并附上pytorch代码实现。 实验部分所采用的的数据集:weibo_senti_100k情感分类(二分类),cnews新闻十分类,___文本多标签分类。 数据下载:微博情感分类数据在github仓库中给出, cnews新闻数据 密码:hf6o, ___文本多标签数据 词向量下载:词向量 预训练模型下载:中文预训练b...
✨ BERT - A Transformer-based text classification framework built with PyTorch. 📝 Note: This project is modified from the GitHub open-source repository BERT-TextClassification. 📚 Multilingual Docs: English | 简体中文 🚀 Key Features ⚡ 7 BERT Variants: Comprehensive baseline implementations ...
本项目主要为针对DPCNN(Deep Pyramid Convolutional Neural Networks for Text Categorization )文本分类(Text Classification)的论文复现以及基于知乎看山杯Inception的修改和复现,后者效果略优。 - miracleyoo/DPCNN-TextCNN-Pytorch-Inception