Instructions to use cs22/book-engine with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use cs22/book-engine with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("cs22/book-engine") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Upload book_engine.pkl with huggingface_hub
Browse files- book_engine.pkl +3 -0
book_engine.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5d671761eee90a11916c102a879eca97bea0e0b5601510cae5876c179c106bcf
|
| 3 |
+
size 349830330
|