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/source-map-js/lib/base64.js from thilakx/Bankoflibreo: direct link, hf CLI and curl.
- Browser
- Download file 1.54 kB
-
https://huggingface.co/thilakx/Bankoflibreo/resolve/main/frontend/node_modules/source-map-js/lib/base64.js
- Command line
-
hf download hf://thilakx/Bankoflibreo/frontend/node_modules/source-map-js/lib/base64.js
-
curl -L -o base64.js https://huggingface.co/thilakx/Bankoflibreo/resolve/main/frontend/node_modules/source-map-js/lib/base64.js
1.54 kB
| /* -*- Mode: js; js-indent-level: 2; -*- */ | |
| /* | |
| * Copyright 2011 Mozilla Foundation and contributors | |
| * Licensed under the New BSD license. See LICENSE or: | |
| * http://opensource.org/licenses/BSD-3-Clause | |
| */ | |
| var intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split(''); | |
| /** | |
| * Encode an integer in the range of 0 to 63 to a single base 64 digit. | |
| */ | |
| exports.encode = function (number) { | |
| if (0 <= number && number < intToCharMap.length) { | |
| return intToCharMap[number]; | |
| } | |
| throw new TypeError("Must be between 0 and 63: " + number); | |
| }; | |
| /** | |
| * Decode a single base 64 character code digit to an integer. Returns -1 on | |
| * failure. | |
| */ | |
| exports.decode = function (charCode) { | |
| var bigA = 65; // 'A' | |
| var bigZ = 90; // 'Z' | |
| var littleA = 97; // 'a' | |
| var littleZ = 122; // 'z' | |
| var zero = 48; // '0' | |
| var nine = 57; // '9' | |
| var plus = 43; // '+' | |
| var slash = 47; // '/' | |
| var littleOffset = 26; | |
| var numberOffset = 52; | |
| // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ | |
| if (bigA <= charCode && charCode <= bigZ) { | |
| return (charCode - bigA); | |
| } | |
| // 26 - 51: abcdefghijklmnopqrstuvwxyz | |
| if (littleA <= charCode && charCode <= littleZ) { | |
| return (charCode - littleA + littleOffset); | |
| } | |
| // 52 - 61: 0123456789 | |
| if (zero <= charCode && charCode <= nine) { | |
| return (charCode - zero + numberOffset); | |
| } | |
| // 62: + | |
| if (charCode == plus) { | |
| return 62; | |
| } | |
| // 63: / | |
| if (charCode == slash) { | |
| return 63; | |
| } | |
| // Invalid base64 digit. | |
| return -1; | |
| }; | |