Mention this can use #tokenid
Browse files- graph-byclip.py +6 -0
graph-byclip.py
CHANGED
|
@@ -5,6 +5,12 @@ Plan:
|
|
| 5 |
Modded version of graph-embeddings.py
|
| 6 |
Just to see if using different CLIP module changes values significantly
|
| 7 |
(It does not)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
This code requires
|
| 9 |
pip install git+https://github.com/openai/CLIP.git
|
| 10 |
"""
|
|
|
|
| 5 |
Modded version of graph-embeddings.py
|
| 6 |
Just to see if using different CLIP module changes values significantly
|
| 7 |
(It does not)
|
| 8 |
+
|
| 9 |
+
It does have the small bonus feature of being able to accept a purely
|
| 10 |
+
numerical tokenid in liu of a number, if you use the syntax,
|
| 11 |
+
"#345".
|
| 12 |
+
You can input a text string, or a single numeric code, per input
|
| 13 |
+
|
| 14 |
This code requires
|
| 15 |
pip install git+https://github.com/openai/CLIP.git
|
| 16 |
"""
|