-
TensorFlow APIs: a set of customized ops that enable the communications among different components of our systems.
-
Knowledge Bank: a set of servers that are responsible for processing/storing the data generated by different components.
- KnowledgeBank Service (KBS): a gRPC server that implements embedding lookup/update.
- KnowledgeBank Manager (KBM): client side C++ hub that talks to KBS.
- Storage System: underlying storage for Knowledge Bank, e.g., InProtoKnowledgeBank for in-memory storage.
Below are the intructions to run the example under examples/graph_keras_mlp_cora.py by building from source.
-
Create a virtual environment (optional) and install TensorFlow by following the instructions.
-
Follow the instructions from tensorflow.org to install Bazel.
-
Install additional packages
$ pip3 install -r neural_structured_learning/requirements.txt
-
Install neural-structured-learning
$ pip3 install neural-structured-learning
$ git clone https://github.com/tensorflow/neural-structured-learning.git
$ cd neural-structured-learning
$ bash neural_structured_learning/examples/preprocess/cora/prep_data.sh
$ bazel run research/carls/examples/graph_regularization:graph_keras_mlp_cora -- \
/tmp/cora/train_merged_examples.tfr /tmp/cora/test_examples.tfr \
--alsologtostderr --output_dir=/tmp/carls
You can cite our CARLS paper as
@misc{carls2021,
title={CARLS: Cross-platform Asynchronous Representation Learning System},
author={Chun-Ta Lu and Yun Zeng and Da-Cheng Juan and Yicheng Fan, and Zhe Li and Jan Dlabal and Yi-Ting Chen and Arjun Gopalan and Allan Heydon and Chun-Sung Ferng and Reah Miyara and Ariel Fuxman and Futang Peng and Zhen Li and Tom Duerig and Andrew Tomkins},
year={2021},
eprint={2105.12849},
archivePrefix={arXiv},
primaryClass={cs.LG}
}