embedding Questions

2

I am using the OpenAI API to get embeddings for a bunch of sentences. And by a bunch of sentences, I mean a bunch of sentences, like thousands. Is there a way to make it faster or make it do the em...
Paratroops asked 24/12, 2022 at 11:12

5

Solved

If you want to insert a small plot inside a bigger one you can use Axes, like here. The problem is that I don't know how to do the same inside a subplot. I have several subplots and I would like to...
Clift asked 3/7, 2013 at 21:41

2

I understand that WordPiece is used to break text into tokens. And I understand that, somewhere in BERT, the model maps tokens into token embeddings that represent the meaning of the tokens. But wh...

4

when my project run this code it will return openai.error.APIConnectionError: Error communicating with OpenAI async def embeddings_acreate(input: list[str]): return await openai.Embedding.acreat...
Counterreply asked 3/4, 2023 at 14:29

1

Does anyone know of a method or API that supports embedding a native window inside either a Java JFrame or JPanel? I found this previous post: How do I run an external program inside a Java frame...
Molech asked 12/1, 2014 at 14:56

3

I researched some materials,and know that the goal of contrastive learning and metric learning are both to learn such an embedding space in which similar sample pairs stay close to each other while...

16

Solved

Is it possible to preload or otherwise cache @font-face fonts, most likely with javascript, before the page loads so you don't get that ugly jump when the page finally does load?
Fettle asked 25/8, 2009 at 20:35

8

Solved

I'm thinking about embedding arbitrary JSON in the DOM like this: <script type="application/json" id="stuff"> { "unicorns": "awesome", "abc": [1, 2, 3] } </script> This is simila...
Disgrace asked 16/2, 2012 at 22:58

3

I have a graph with 480k nodes and 34M edges. I want to create node embeddings using Node2Vec on this graph. But, It is not even able to calculate transition probabilities. I am using a Google Clou...
Textualist asked 18/2, 2020 at 7:55

14

Is there a way to force PDF files to open in the browser when the option "Display PDF in browser" is unchecked? I tried using the embed tag and an iframe, but it only works when that option is che...
Socialite asked 9/6, 2011 at 13:54

1

I'm working on a torch-based library for building autoencoders with tabular datasets. One big feature is learning embeddings for categorical features. In practice, however, training many embeddi...
Selwin asked 24/6, 2019 at 2:15

5

I'm writing a plug-in for another application through an API. The plug-ins are distributed a DLLs. Is it possible to embed other files in the DLL file like pdfs, images, chm help files etc... I wan...
Fed asked 11/12, 2009 at 20:29

2

Solved

I am using glove embeddings and I am quite confused about tokens and vocab in the embeddings. Like this one: Common Crawl (840B tokens, 2.2M vocab, cased, 300d vectors, 2.03 GB download) what do...
Hemicrania asked 6/9, 2016 at 14:13

4

Solved

Is it possible to embed a language inside Go? I need it to create plugins inside my application.
Kristopher asked 16/12, 2014 at 3:0

8

Solved

I have an SVG document, and I would like to include an external svg image within it, i.e. something like: <object data="logo.svgz" width="100" height="100" x="200" y="400"/> ("object" is j...
Sciatic asked 27/3, 2011 at 17:59

1

I am looking for a way to store embedding generated by language model like (T5), in BigQuery of Google. The embedding are in the form of Numpy array or tensor. I found 3 approaches: TFRecord, writ...

1

Solved

Tensoflow Embedding Layer (https://www.tensorflow.org/api_docs/python/tf/keras/layers/Embedding) is easy to use, and there are massive articles talking about "how to use" Embedding (https...
Obtest asked 9/6, 2021 at 3:3

3

I am trying to re-execute a GitHub project on my computer for recommendation using embedding, the goal is to first embed the user and item present in the movieLens dataset, and then use the inner p...
Overtone asked 29/5, 2019 at 12:27

1

Solved

I'm not able to understand how the String() method works for embedded structs in Go. Consider this: type Engineer struct { Person TaxPayer Specialization string } type Person struct { Name str...
Craniate asked 13/5, 2021 at 13:5

1

I want to use the BERT Word Vector Embeddings in the Embeddings layer of LSTM instead of the usual default embedding layer. Is there any way I can do it?
Paracasein asked 7/7, 2020 at 9:12

3

Solved

I'd like to compare the difference among the same word mentioned in different sentences, for example "travel". What I would like to do is: Take the sentences mentioning the term "tr...
Snort asked 7/9, 2020 at 14:48

5

Given the following structs: type Person struct { Name string `json:"name"` } type Employee struct { *Person JobRole string `json:"jobRole"` } I can easily marshal an Emplo...
Michiko asked 20/7, 2016 at 19:59

5

I want to embed fonts in my WinForms application so that I don't have to worry about them being installed on the machine. I've searched a bit on the MSDN site and found a few hints about using nati...
Johore asked 17/2, 2009 at 9:59

1

I am trying to do document embedding using BERT. The code I use is a combination of two sources. I use BERT Document Classification Tutorial with Code, and BERT Word Embeddings Tutorial. Below is t...

1

I'm trying to apply clustering to a dataset. Before that i have to divide the graph into n number of clusters and i don't know how to do it.
Kevyn asked 14/7, 2020 at 19:42

© 2022 - 2024 — McMap. All rights reserved.