Skip to content
Projects

iworldtong/text_gcn.pytorch

View on GitHub

About

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

Systems & Infrastructure

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

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

Explore related projects

Loading…