原创 Spherical Text Embedding 摘要速覽

https://github.com/yumeng5/Spherical-Text-Embedding https://arxiv.org/abs/1911.01196 無監督文本向量表示技術在NLP任務很重要,然而之前的文本向量

原创 LambdaNet 摘要速覽

LambdaNet: Probabilistic Type Inference using Graph Neural Networks https://openreview.net/group?id=ICLR.cc/2020/Co

原创 imdb、SST-1、SST-2、yelp-2013、yelp-2014 文本分類數據集

https://github.com/JerrikEph/Capsule4TextClassification/blob/master/data/downloadDataset.md https://download.csdn.n

原创 sh run安裝cuda失敗,Finished with code: 256

要先禁用nouveau CentOS保證lsmod |grep nouveau不顯示信息 CentOS用runfile安裝還是比rpm好點

原创 deterministic variational inference for robust BNNs 摘要速覽

DETERMINISTIC VARIATIONAL INFERENCE FOR ROBUST BAYESIAN NEURAL NETWORKS https://openreview.net/group?id=ICLR.cc/201

原创 Structural Deep Clustering Network 摘要速覽

https://arxiv.org/pdf/2002.01633.pdf 本文研究聚類,深度學習,如autoencoder,促進了聚類研究的發展,發現好的向量表示是必備的一環, 本文結合GCN做聚類,提出Structural De

原创 pycharm debug F8 slow / variable not show

Preference --> python debugger --> Gevent compatible 勾選後重跑

原创 AliCoCo 閱讀筆記

論文名:AliCoCo: Alibaba E-commerce Cognitive Concept Net 引言 基本電商的圖譜建設都是Category-Property-Value形式,Category是一顆樹,其中Proper

原创 多GPU訓練,TensorFlow Estimator input_fn 傳的是每個GPU的batch_size

多GPU訓練,TensorFlow1.15 Estimator input_fn 傳的是每個GPU的batch_size,不用傳global_batch_size

原创 python 正則匹配後去掉正則表達式本身

import re def remove_non_chinese(input_str): return "".join(re.findall(r'[\u4e00-\u9fa5]', input_str)) senten

原创 一種LaTex的table,emnlp的

{\renewcommand{\arraystretch}{1.0} \begin{table*}[!ht] \centering { \begin{tabular}{L{0.85\columnwidth}|C{0.2\colum

原创 textmatch(文本匹配)模型輸出score卡閾值一個細節

最後輸出結果是[batch_size,2], 但不是通過[:,0]和[:,1]的大小相比得出結果, 也不是改成輸出[batch_size,1], 而是[batch_size,2]取[:,1]然後卡閾值。

原创 Spark java.lang.ClassCastException 無其他報錯提示

spark集羣上跑報 java.lang.ClassCastException 這個錯,然後沒有報哪個Class不能Cast 最終發現是有個Double到Long的強轉,,

原创 TensorFlow 一些多GPU用MirroredStrategy的代碼

https://www.tensorflow.org/guide/distributed_training https://www.tensorflow.org/tutorials/distribute/custom_train

原创 BERT 多GPU比單GPU優勢不大

https://github.com/NVIDIA/DeepLearningExamples/blob/master/TensorFlow/LanguageModeling/BERT