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/detect-libc/lib/elf.js from thilakx/Bankoflibreo: direct link, hf CLI and curl.
- Browser
- Download file 982 Bytes
-
https://huggingface.co/thilakx/Bankoflibreo/resolve/main/frontend/node_modules/detect-libc/lib/elf.js
- Command line
-
hf download hf://thilakx/Bankoflibreo/frontend/node_modules/detect-libc/lib/elf.js
-
curl -L -o elf.js https://huggingface.co/thilakx/Bankoflibreo/resolve/main/frontend/node_modules/detect-libc/lib/elf.js
982 Bytes
| // Copyright 2017 Lovell Fuller and others. | |
| // SPDX-License-Identifier: Apache-2.0 | |
| ; | |
| const interpreterPath = (elf) => { | |
| if (elf.length < 64) { | |
| return null; | |
| } | |
| if (elf.readUInt32BE(0) !== 0x7F454C46) { | |
| // Unexpected magic bytes | |
| return null; | |
| } | |
| if (elf.readUInt8(4) !== 2) { | |
| // Not a 64-bit ELF | |
| return null; | |
| } | |
| if (elf.readUInt8(5) !== 1) { | |
| // Not little-endian | |
| return null; | |
| } | |
| const offset = elf.readUInt32LE(32); | |
| const size = elf.readUInt16LE(54); | |
| const count = elf.readUInt16LE(56); | |
| for (let i = 0; i < count; i++) { | |
| const headerOffset = offset + (i * size); | |
| const type = elf.readUInt32LE(headerOffset); | |
| if (type === 3) { | |
| const fileOffset = elf.readUInt32LE(headerOffset + 8); | |
| const fileSize = elf.readUInt32LE(headerOffset + 32); | |
| return elf.subarray(fileOffset, fileOffset + fileSize).toString().replace(/\0.*$/g, ''); | |
| } | |
| } | |
| return null; | |
| }; | |
| module.exports = { | |
| interpreterPath | |
| }; | |