Skip to content

Instantly share code, notes, and snippets.

View e-budur's full-sized avatar
🤗

Emrah Budur e-budur

🤗
View GitHub Profile
{
"embeddings": [
{
"tensorName": "FastText-Common-Crawl-Vectors-Turkish-32494",
"tensorShape": [
32494,
300
],
"tensorPath": "https://s3.eu-central-1.amazonaws.com/tabilab/word_embeddings/fast_text/alltext_editorial_300.tr.32494.parsed.vec",
"metadataPath": "https://s3.eu-central-1.amazonaws.com/tabilab/word_embeddings/fast_text/alltext_editorial_300.tr.32494.parsed.meta"
{
"embeddings": [
{
"tensorName": "FastText-Common-Crawl-Vectors-Turkish-36849",
"tensorShape": [
944241,
300
],
"tensorPath": "https://s3.eu-central-1.amazonaws.com/tabilab/word_embeddings/fast_text/cc.tr.36849.parsed.vec",
"metadataPath": "https://s3.eu-central-1.amazonaws.com/tabilab/word_embeddings/fast_text/cc.tr.36849.parsed.meta"
{
"embeddings": [
{
"tensorName": "Fast Text-Turkish-31924",
"tensorShape": [
50000,
300
],
"tensorPath": "https://s3.eu-central-1.amazonaws.com/tabilab/word_embeddings/fast_text/wiki.tr.31924.parsed.vec",
"metadataPath": "https://s3.eu-central-1.amazonaws.com/tabilab/word_embeddings/fast_text/wiki.tr.31924.parsed.meta"
{
"embeddings": [
{
"tensorName": "Fast Text-Turkish-50000",
"tensorShape": [
50000,
300
],
"tensorPath": "https://s3.eu-central-1.amazonaws.com/tabilab/word_embeddings/fast_text/wiki.tr.50000.space.tab.vec",
"metadataPath": "https://s3.eu-central-1.amazonaws.com/tabilab/word_embeddings/fast_text/wiki.tr.50000.space.meta.tsv"
import gensim, logging
import os
import sys
import codecs
def main():
program = os.path.basename(sys.argv[0])
logger = logging.getLogger(program)
logging.basicConfig(format='%(asctime)s: %(levelname)s: %(message)s')
{
"embeddings": [
{
"tensorName": "Fast Text-Turkish",
"tensorShape": [
416051,
300
],
"tensorPath": "https://s3.eu-central-1.amazonaws.com/tabilab/word_embeddings/fast_text/wiki.tr.vec",
"metadataPath": "https://s3.eu-central-1.amazonaws.com/tabilab/word_embeddings/fast_text/metadata.tsv"