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/enhanced-resolve/lib/ModulesInRootPlugin.js from thilakx/Bankoflibreo: direct link, hf CLI and curl.
- Browser
- Download file 1.16 kB
-
https://huggingface.co/thilakx/Bankoflibreo/resolve/main/frontend/node_modules/enhanced-resolve/lib/ModulesInRootPlugin.js
- Command line
-
hf download hf://thilakx/Bankoflibreo/frontend/node_modules/enhanced-resolve/lib/ModulesInRootPlugin.js
-
curl -L -o ModulesInRootPlugin.js https://huggingface.co/thilakx/Bankoflibreo/resolve/main/frontend/node_modules/enhanced-resolve/lib/ModulesInRootPlugin.js
1.16 kB
| /* | |
| MIT License http://www.opensource.org/licenses/mit-license.php | |
| Author Tobias Koppers @sokra | |
| */ | |
| ; | |
| /** @typedef {import("./Resolver")} Resolver */ | |
| /** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ | |
| /** @typedef {import("./Resolver").ResolveStepHook} ResolveStepHook */ | |
| module.exports = class ModulesInRootPlugin { | |
| /** | |
| * @param {string | ResolveStepHook} source source | |
| * @param {string} path path | |
| * @param {string | ResolveStepHook} target target | |
| */ | |
| constructor(source, path, target) { | |
| this.source = source; | |
| this.path = path; | |
| this.target = target; | |
| } | |
| /** | |
| * @param {Resolver} resolver the resolver | |
| * @returns {void} | |
| */ | |
| apply(resolver) { | |
| const target = resolver.ensureHook(this.target); | |
| resolver | |
| .getHook(this.source) | |
| .tapAsync("ModulesInRootPlugin", (request, resolveContext, callback) => { | |
| /** @type {ResolveRequest} */ | |
| const obj = { | |
| ...request, | |
| path: this.path, | |
| request: `./${request.request}`, | |
| module: false, | |
| }; | |
| resolver.doResolve( | |
| target, | |
| obj, | |
| `looking for modules in ${this.path}`, | |
| resolveContext, | |
| callback, | |
| ); | |
| }); | |
| } | |
| }; | |