Skip to content

Instantly share code, notes, and snippets.

{
"embeddings": [
{
"tensorName": "My tensor",
"tensorShape": [
1000,
50
],
"tensorPath": "https://gist.github.com/.../tensors.tsv",
"metadataPath": "https://gist.github.com/.../optional.metadata.tsv"
{
"embeddings": [
{
"tensorName": "My tensor",
"tensorShape": [
1000,
50
],
"tensorPath": "https://gist.github.com/.../tensors.tsv",
"metadataPath": "https://gist.github.com/.../optional.metadata.tsv"
We can't make this file beautiful and searchable because it's too large.
0.003591724416356157 -0.01371068443420861 0.0024355140493743203 0.0077671711045327815 0.000985723752737715 -0.006822224261024653 0.0053702102701985435 -0.0036330443471434704 0.009491709558021151 -0.004810631663664087 -0.005658203108089693 -0.018695008199174072 -0.002487183507797413 -0.0009654356720020178 -0.005833826467311115 -0.0018735254174255336 -0.004623233246501912 -0.009120926232416617 0.000801607315674466 -0.014064457179230293 -0.01711661574820559 0.009696870188103215 -0.0023988258107329897 0.014488139245514411 0.006287399555485842 -0.0076058681706343305 0.007872630864593692 0.01414397892034011 -0.011266709300113862 -0.006689784880609806 0.007933830159416767 -0.010992153489823568 -0.0038915400581664584 -0.009990508876102611 -0.006281532048969791 -0.0054299086315970704 0.0019290447679840112 0.01691204523458407 -0.006874906684643474 -0.005780596084620678 0.02456172364711594 0.001238440323668124 -0.003034166695665028 0.00029992958886569806 -0.012372861327564218 0.00646030290831885 0.0005568640772253275 -0
{
"embeddings": [
{
"tensorName": "My tensor",
"tensorShape": [
685,
100
],
"tensorPath": "https://gist.github.com/kburaya/3287db11ac036aa6bf3582b7bafe70cc",
}
from xml.etree import cElementTree as ET
from pymongo import MongoClient
import argparse
import re
import nltk
import string
import pymorphy2
import timeit
from stop_words import get_stop_words
from bson.int64 import Int64
import net.bbridge.core.extractor.TopicsFeatureExtractor;
import net.bbridge.core.text.processing.TextProcessor;
import net.bbridge.feature.extractor.text.TextTopicsFeatureExtractor;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.HashMap;
from random import shuffle
from random import uniform
import math
EDGES_IN_ROUTE = None
GRAPH = None
MUTATION_RATE = 0.15
TOURNAMENT_SIZE = None
from sys import stdin
from random import shuffle
def main():
input = stdin.readline()
n = int(input.split(' ')[0])
f = int(input.split(' ')[1])
indexes = [i for i in range(n)]
from sys import stdin
from random import shuffle
def main():
input = stdin.readline()
n = int(input.split(' ')[0])
f = int(input.split(' ')[1])
indexes = [i for i in range(n)]
from sys import stdin
from sys import stdout
from random import shuffle
def main():
input = stdin.readline()
n = int(input.split(' ')[0])
f = int(input.split(' ')[1])