ppbrown commited on
Commit
8aca6c9
1 Parent(s): 69bc77d

Update openclip/generate-embeddings-open.py

Browse files
openclip/generate-embeddings-open.py CHANGED
@@ -1,11 +1,14 @@
1
  #!/bin/env python
2
 
3
- """ Work in progress
4
- Plan:
5
  Read in "dictionary" for list of works and token
6
  Generate "proper" embedding for each token, and store in tensor file
7
  Generate a tensor array of distance to every other token/embedding
8
- Save it out to "embeddings.safetensors"
 
 
 
9
  """
10
 
11
 
 
1
  #!/bin/env python
2
 
3
+ """
4
+ Purpose:
5
  Read in "dictionary" for list of works and token
6
  Generate "proper" embedding for each token, and store in tensor file
7
  Generate a tensor array of distance to every other token/embedding
8
+ Save it out to "mtype@mname.safetensors"
9
+ Warning:
10
+ Some models require more VRAM than others.
11
+ Some require more RAM than others.
12
  """
13
 
14