Skip to content

Instantly share code, notes, and snippets.

View BrikerMan's full-sized avatar
🎯
Focusing

Eliyar Eziz BrikerMan

🎯
Focusing
View GitHub Profile
from gensim.models import KeyedVectors
# Load gensim word2vec
w2v_path = '<Gensim File Path>'
w2v = KeyedVectors.load_word2vec_format(w2v_path)
import io
# Vector file, `\t` seperated the vectors and `\n` seperate the words
"""
# encoding: utf-8
"""
@author: BrikerMan
@contact: [email protected]
@blog: https://eliyar.biz
@version: 1.0
@license: Apache Licence
@file: pre_process
@time: 2018/11/18
@BrikerMan
BrikerMan / nlp-preprosssing.ipynb
Last active May 1, 2022 06:53
nlp-preprosssing.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@BrikerMan
BrikerMan / seq2seq.ipynb
Created May 14, 2019 10:52
seq2seq.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
report=$( mktemp )
echo "# Environment Debugging" >> $report
echo "" >> $report
echo $"This file will generate an report file Yodo1 for debugging." >> $report
echo "" >> $report
echo $"## Pod Environment" >> $report
echo $"`pod env`" >> $report
echo "" >> $report
echo $"### Podfile.lock" >> $report