This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inserting 88000000 elem took 3.651875417s | |
bm size is 10.525871MB | |
initializing from buffer took 1.350084ms | |
sanity check: 10=true 11=false 12=true | |
build a second bitmap so we can do some intersecting...done | |
intersecting AND took 8.853708ms | |
sanity check: 10=true 11=false 12=false | |
resetting bm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import nltk | |
import os | |
import random | |
import time | |
import torch | |
import weaviate | |
from transformers import AutoModel, AutoTokenizer | |
from nltk.tokenize import sent_tokenize | |
torch.set_grad_enabled(False) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os" | |
"github.com/creativesoftwarefdn/weaviate/contextionary" | |
"github.com/creativesoftwarefdn/weaviate/database/schema" | |
schemaContextionary "github.com/creativesoftwarefdn/weaviate/database/schema_contextionary" | |
"github.com/creativesoftwarefdn/weaviate/models" |