text2vec
Advanced tools
+1
-1
| Metadata-Version: 2.4 | ||
| Name: text2vec | ||
| Version: 1.3.7 | ||
| Version: 1.3.8 | ||
| Summary: Text to vector Tool, encode text | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/shibing624/text2vec |
| Metadata-Version: 2.4 | ||
| Name: text2vec | ||
| Version: 1.3.7 | ||
| Version: 1.3.8 | ||
| Summary: Text to vector Tool, encode text | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/shibing624/text2vec |
@@ -208,3 +208,6 @@ # -*- coding: utf-8 -*- | ||
| # Convert to numpy/cpu immediately to free GPU memory | ||
| if convert_to_numpy: | ||
| embeddings = embeddings.cpu().numpy() | ||
| elif convert_to_tensor: | ||
| embeddings = embeddings.cpu() | ||
@@ -216,3 +219,3 @@ all_embeddings.extend(embeddings) | ||
| elif convert_to_numpy: | ||
| all_embeddings = np.asarray([emb.numpy() for emb in all_embeddings]) | ||
| all_embeddings = np.asarray(all_embeddings) | ||
@@ -219,0 +222,0 @@ if input_is_string: |
@@ -7,2 +7,2 @@ # -*- coding: utf-8 -*- | ||
| __version__ = '1.3.7' | ||
| __version__ = '1.3.8' |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
337582
0.04%3541
0.08%