# RNN **Repository Path**: ggkm/rnn-text-classifier ## Basic Information - **Project Name**: RNN - **Description**: 使用RNN完成文本分类等任务,基于pytorch框架 - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 1 - **Created**: 2022-10-10 - **Last Updated**: 2026-03-16 ## Categories & Tags **Categories**: machine-learning **Tags**: None ## README # RNN #### 介绍 1. 使用RNN完成文本分类,预测 2. 分布式训练 源码基于 - python 3.8 - pytorch 1.11.0 #### 软件架构 >data:原始数据、预处理数据、word2vec模型 > > dist:分布式训练源码 > > predict:数值预测源码 > > text_class:文本分类源码 #### 安装教程 1. 下载源码 2. 安装相关依赖包 #### 使用说明 - 文本分类 >1. python text_class/preprocess.py #预处理数据 >2. python text_class/rnn.py #训练 - 分布式训练 >1. python dist/dist_train.py - 数据预测 >1. python predict/regression_preprocess.py >2. python predict/predict.py