Instructions to use 0x4C57/openeden-codebook-base-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use 0x4C57/openeden-codebook-base-model with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("0x4C57/openeden-codebook-base-model") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
| { | |
| "samples": 8333, | |
| "extraSamples": 4133, | |
| "nodes": 2048, | |
| "l": { | |
| "mean": 0.5221372854914197, | |
| "low": 2484, | |
| "mid": 1899, | |
| "high": 3950 | |
| }, | |
| "p": { | |
| "mean": 0.33503420136805473, | |
| "low": 5920, | |
| "mid": 401, | |
| "high": 2012 | |
| }, | |
| "e": { | |
| "mean": 0.4365798631945278, | |
| "low": 3747, | |
| "mid": 1950, | |
| "high": 2636 | |
| }, | |
| "s": { | |
| "mean": 0.3644521780871235, | |
| "low": 5269, | |
| "mid": 1013, | |
| "high": 2051 | |
| }, | |
| "tau": { | |
| "mean": 0.4021648865954638, | |
| "low": 4786, | |
| "mid": 1145, | |
| "high": 2402 | |
| }, | |
| "v": { | |
| "mean": 0.5271126845073804, | |
| "low": 2819, | |
| "mid": 1449, | |
| "high": 4065 | |
| }, | |
| "m": { | |
| "mean": 0.4243177727109085, | |
| "low": 3931, | |
| "mid": 1574, | |
| "high": 2828 | |
| }, | |
| "f": { | |
| "mean": 0.3247509900396016, | |
| "low": 5668, | |
| "mid": 555, | |
| "high": 2110 | |
| } | |
| } | |