Skip to content
项目

关于

PyTorch implementation of "Graph Convolutional Networks for Text Classification. Yao et al. AAAI2019."

系统与基础设施

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

text_gcn.pytorch

This project implements "Graph Convolutional Networks for Text Classification. Yao et al. AAAI2019." in PyTorch.

This implementation highly based on official code yao8839836/text_gcn.

Require

  • Python 3.6
  • PyTorch 1.0

Running training and evaluation

  1. cd ./preprocess
  2. Run python remove_words.py <dataset>
  3. Run python build_graph.py <dataset>
  4. cd ..
  5. Run python train.py <dataset>
  6. Replace <dataset> with 20ng, R8, R52, ohsumed or mr

Visualization

R8

R8_gcn_test

探索相关项目

加载中…