Text Generation
sentence-transformers
English
rag
retrieval-augmented-generation
fastapi
react
chromadb
banking
document-intelligence
vector-search
Instructions to use thilakx/Bankoflibreo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use thilakx/Bankoflibreo with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("thilakx/Bankoflibreo") 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
Download frontend/node_modules/oxlint/dist/utils.js from thilakx/Bankoflibreo: direct link, hf CLI and curl.
- Browser
- Download file 1.06 kB
-
https://huggingface.co/thilakx/Bankoflibreo/resolve/main/frontend/node_modules/oxlint/dist/utils.js
- Command line
-
hf download hf://thilakx/Bankoflibreo/frontend/node_modules/oxlint/dist/utils.js
-
curl -L -o utils.js https://huggingface.co/thilakx/Bankoflibreo/resolve/main/frontend/node_modules/oxlint/dist/utils.js
1.06 kB
| //#region src-js/utils/utils.ts | |
| /** | |
| * Get error message from an error. | |
| * | |
| * `err` is expected to be an `Error` object, but can be anything. | |
| * | |
| * * If it's an `Error`, the error message and stack trace is returned. | |
| * * If it's another object with a string `message` property, `message` is returned. | |
| * * Otherwise, a generic "Unknown error" message is returned. | |
| * | |
| * This function will never throw, and always returns a non-empty string, even if: | |
| * | |
| * * `err` is `null` or `undefined`. | |
| * * `err` is an object with a getter for `message` property which throws. | |
| * * `err` has a getter for `stack` or `message` property which returns a different value each time it's accessed. | |
| * | |
| * @param err - Error | |
| * @returns Error message | |
| */ | |
| function getErrorMessage(err) { | |
| try { | |
| if (err instanceof Error) { | |
| let { stack } = err; | |
| if (typeof stack == "string" && stack !== "") return stack; | |
| } | |
| let { message } = err; | |
| if (typeof message == "string" && message !== "") return message; | |
| } catch {} | |
| return "Unknown error"; | |
| } | |
| //#endregion | |
| export { getErrorMessage as t }; | |