gitextract__2536wl_/ ├── .bazelrc ├── .gitignore ├── .travis.yml ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── annotator_models/ │ ├── README.md │ ├── bin/ │ │ ├── cancel-job │ │ ├── ls-jobs │ │ ├── run │ │ ├── run_local │ │ └── stream-logs │ ├── cpu_config.yaml │ ├── requirements.txt │ ├── results/ │ │ └── .gitignore │ └── trainer/ │ ├── __init__.py │ ├── dawid_skene.py │ └── dawid_skene_test.py ├── attention-tutorial/ │ ├── Attention_Model_Tutorial.ipynb │ ├── README.md │ ├── checkpoints/ │ │ └── README.md │ ├── data/ │ │ └── README.md │ ├── process_figshare.py │ ├── requirements.txt │ └── visualize_attention.py ├── data_preparation/ │ ├── README.md │ ├── config.ini │ ├── preprocessing/ │ │ ├── __init__.py │ │ ├── constants.py │ │ ├── preprocessing.py │ │ └── tfrecord_utils.py │ ├── requirements.txt │ ├── run_preprocessing_artificial_bias.py │ ├── run_preprocessing_data_split.py │ └── setup.py ├── experiments/ │ ├── .gitignore │ ├── README.md │ ├── WORKSPACE │ ├── __init__.py │ ├── requirements.txt │ ├── setup.py │ ├── testdata/ │ │ ├── BUILD │ │ ├── cats_and_dogs.jsonl │ │ ├── cats_and_dogs_onehot.vocab.txt │ │ ├── cats_and_dogs_with_cat_opt_int_labels.jsonl │ │ └── cats_and_dogs_with_partial_cat_int_labels.jsonl │ ├── tf_trainer/ │ │ ├── __init__.py │ │ ├── common/ │ │ │ ├── BUILD │ │ │ ├── __init__.py │ │ │ ├── base_model.py │ │ │ ├── basic_gpu_config.yaml │ │ │ ├── cnn_spec_parser.py │ │ │ ├── cnn_spec_parser_test.py │ │ │ ├── dataset_config.sh │ │ │ ├── dataset_input.py │ │ │ ├── episodic_tfrecord_input.py │ │ │ ├── episodic_tfrecord_input_test.py │ │ │ ├── model_trainer.py │ │ │ ├── p100_config.yaml │ │ │ ├── serving_input.py │ │ │ ├── text_preprocessor.py │ │ │ ├── text_preprocessor_test.py │ │ │ ├── tfrecord_input.py │ │ │ ├── tfrecord_input_test.py │ │ │ ├── token_embedding_index.py │ │ │ ├── token_embedding_index_test.py │ │ │ ├── types.py │ │ │ └── v100_config.yaml │ │ ├── tf_char_cnn/ │ │ │ ├── __init__.py │ │ │ ├── hparam_config.yaml │ │ │ ├── hparam_config_civil_comments.yaml │ │ │ ├── hparam_config_many_communities.yaml │ │ │ ├── hparam_config_toxicity.yaml │ │ │ ├── model.py │ │ │ ├── run.deploy.sh │ │ │ ├── run.hyperparameter.sh │ │ │ ├── run.local.sh │ │ │ ├── run.ml_engine.sh │ │ │ └── run.py │ │ ├── tf_cnn/ │ │ │ ├── __init__.py │ │ │ ├── finetune.py │ │ │ ├── finetune.sh │ │ │ ├── hparam_config.yaml │ │ │ ├── hparam_config_civil_comments.yaml │ │ │ ├── hparam_config_many_communities.yaml │ │ │ ├── hparam_config_many_communities_40_per_8_shot.yaml │ │ │ ├── hparam_config_toxicity.yaml │ │ │ ├── model.py │ │ │ ├── run.deploy.sh │ │ │ ├── run.hyperparameter.sh │ │ │ ├── run.local.sh │ │ │ ├── run.ml_engine.sh │ │ │ └── run.py │ │ ├── tf_gru_attention/ │ │ │ ├── __init__.py │ │ │ ├── finetune.py │ │ │ ├── finetune.sh │ │ │ ├── hparam_config.yaml │ │ │ ├── hparam_config_civil_comments.yaml │ │ │ ├── hparam_config_many_communities.yaml │ │ │ ├── hparam_config_many_communities_40_per_8_shot.yaml │ │ │ ├── hparam_config_toxicity.yaml │ │ │ ├── model.py │ │ │ ├── run.deploy.sh │ │ │ ├── run.hyperparameter.sh │ │ │ ├── run.local.sh │ │ │ ├── run.ml_engine.sh │ │ │ └── run.py │ │ ├── tf_hub_classifier/ │ │ │ ├── __init__.py │ │ │ ├── finetune.py │ │ │ ├── finetune.sh │ │ │ ├── hparam_config.yaml │ │ │ ├── hparam_config_civil_comments.yaml │ │ │ ├── hparam_config_many_communities.yaml │ │ │ ├── hparam_config_many_communities_40_per_8_shot.yaml │ │ │ ├── hparam_config_toxicity.yaml │ │ │ ├── model.py │ │ │ ├── run.deploy.sh │ │ │ ├── run.hyperparameter.sh │ │ │ ├── run.local.sh │ │ │ ├── run.ml_engine.sh │ │ │ └── run.py │ │ ├── tf_hub_tfjs/ │ │ │ ├── __init__.py │ │ │ ├── model.py │ │ │ ├── notebook/ │ │ │ │ ├── BiasEvaluation.ipynb │ │ │ │ └── EvaluatingClassifier.ipynb │ │ │ ├── run.local.sh │ │ │ └── run.py │ │ ├── tf_kona_prototypical_network/ │ │ │ └── proto.py │ │ └── tf_word_label_embedding/ │ │ ├── __init__.py │ │ ├── hparam_config.yaml │ │ ├── model.py │ │ ├── run.hyperparameter.sh │ │ ├── run.local.sh │ │ ├── run.ml_engine.sh │ │ └── run.py │ └── tools/ │ ├── bert_tfrecord_converter.py │ ├── convert_csv_to_tfrecord.py │ └── convert_jsonl_to_tfrecord.py ├── hierarchical_attention_research/ │ └── han_model/ │ ├── .gitignore │ ├── HAN_model.py │ ├── LICENSE │ ├── README.md │ ├── bn_lstm.py │ ├── bn_lstm_test.py │ ├── data_util.py │ ├── model_components.py │ ├── requirements.txt │ ├── worker.py │ ├── yelp.py │ └── yelp_prepare.py ├── kaggle-classification/ │ ├── .gitignore │ ├── README.md │ ├── __init__.py │ ├── bin/ │ │ ├── cancel-job │ │ ├── ls-jobs │ │ ├── run │ │ ├── run_keras.sh │ │ ├── run_keras_local.sh │ │ ├── run_local │ │ └── stream-logs │ ├── config.yaml │ ├── gpu_config.yaml │ ├── hparam_config.yaml │ ├── keras_hparam_config.yaml │ ├── keras_trainer/ │ │ ├── __init__.py │ │ ├── base_model.py │ │ ├── cnn_with_attention.py │ │ ├── custom_metrics.py │ │ ├── model.py │ │ ├── rnn.py │ │ └── single_layer_cnn.py │ ├── requirements.txt │ ├── setup.py │ └── trainer/ │ ├── __init__.py │ ├── model.py │ └── wikidata.py ├── model_evaluation/ │ ├── BiosBias Evaluation.ipynb │ ├── Predict bias.ipynb │ ├── README.md │ ├── deploy_models.sh │ ├── few_shot_learning_baseline_evaluation.ipynb │ ├── input_fn_example.py │ ├── jigsaw_evaluation_pipeline.ipynb │ ├── requirements.txt │ ├── score_bias_data.sh │ ├── score_scrubbed_data.sh │ ├── score_test_data.py │ └── utils_export/ │ ├── __init__.py │ ├── dataset.py │ ├── dataset_test.py │ ├── deploy_list_models.py │ ├── utils_cloudml.py │ ├── utils_cloudml_test.py │ ├── utils_tfrecords.py │ └── utils_tfrecords_test.py └── travis_blase_test_support/ └── bazel_0.18.1-linux-x86_64.deb.sha256