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/tapable/lib/HookMap.js from thilakx/Bankoflibreo: direct link, hf CLI and curl.
- Browser
- Download file 1.72 kB
-
https://huggingface.co/thilakx/Bankoflibreo/resolve/main/frontend/node_modules/tapable/lib/HookMap.js
- Command line
-
hf download hf://thilakx/Bankoflibreo/frontend/node_modules/tapable/lib/HookMap.js
-
curl -L -o HookMap.js https://huggingface.co/thilakx/Bankoflibreo/resolve/main/frontend/node_modules/tapable/lib/HookMap.js
1.72 kB
| /* | |
| MIT License http://www.opensource.org/licenses/mit-license.php | |
| Author Tobias Koppers @sokra | |
| */ | |
| ; | |
| const util = require("util"); | |
| const defaultFactory = (key, hook) => hook; | |
| class HookMap { | |
| constructor(factory, name = undefined) { | |
| this._map = new Map(); | |
| this.name = name; | |
| this._factory = factory; | |
| this._interceptors = []; | |
| } | |
| get(key) { | |
| return this._map.get(key); | |
| } | |
| for(key) { | |
| // Hot path: inline the map lookup to skip the `this.get(key)` | |
| // indirection. This gets hit on every hook access in consumers | |
| // like webpack. | |
| const map = this._map; | |
| const hook = map.get(key); | |
| if (hook !== undefined) { | |
| return hook; | |
| } | |
| let newHook = this._factory(key); | |
| const interceptors = this._interceptors; | |
| for (let i = 0; i < interceptors.length; i++) { | |
| newHook = interceptors[i].factory(key, newHook); | |
| } | |
| map.set(key, newHook); | |
| return newHook; | |
| } | |
| intercept(interceptor) { | |
| this._interceptors.push( | |
| Object.assign( | |
| { | |
| factory: defaultFactory | |
| }, | |
| interceptor | |
| ) | |
| ); | |
| } | |
| } | |
| HookMap.prototype.tap = util.deprecate(function tap(key, options, fn) { | |
| return this.for(key).tap(options, fn); | |
| }, "HookMap#tap(key,…) is deprecated. Use HookMap#for(key).tap(…) instead."); | |
| HookMap.prototype.tapAsync = util.deprecate(function tapAsync( | |
| key, | |
| options, | |
| fn | |
| ) { | |
| return this.for(key).tapAsync(options, fn); | |
| }, "HookMap#tapAsync(key,…) is deprecated. Use HookMap#for(key).tapAsync(…) instead."); | |
| HookMap.prototype.tapPromise = util.deprecate(function tapPromise( | |
| key, | |
| options, | |
| fn | |
| ) { | |
| return this.for(key).tapPromise(options, fn); | |
| }, "HookMap#tapPromise(key,…) is deprecated. Use HookMap#for(key).tapPromise(…) instead."); | |
| module.exports = HookMap; | |