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/postcss/lib/list.js from thilakx/Bankoflibreo: direct link, hf CLI and curl.
- Browser
- Download file 1.27 kB
-
https://huggingface.co/thilakx/Bankoflibreo/resolve/main/frontend/node_modules/postcss/lib/list.js
- Command line
-
hf download hf://thilakx/Bankoflibreo/frontend/node_modules/postcss/lib/list.js
-
curl -L -o list.js https://huggingface.co/thilakx/Bankoflibreo/resolve/main/frontend/node_modules/postcss/lib/list.js
1.27 kB
| let list = { | |
| comma(string) { | |
| return list.split(string, [','], true) | |
| }, | |
| space(string) { | |
| let spaces = [' ', '\n', '\t'] | |
| return list.split(string, spaces) | |
| }, | |
| split(string, separators, last) { | |
| if (typeof string !== 'string') return [] | |
| let array = [] | |
| let current = '' | |
| let split = false | |
| let func = 0 | |
| let inQuote = false | |
| let prevQuote = '' | |
| let escape = false | |
| for (let letter of string) { | |
| if (escape) { | |
| escape = false | |
| } else if (letter === '\\') { | |
| escape = true | |
| } else if (inQuote) { | |
| if (letter === prevQuote) { | |
| inQuote = false | |
| } | |
| } else if (letter === '"' || letter === "'") { | |
| inQuote = true | |
| prevQuote = letter | |
| } else if (letter === '(') { | |
| func += 1 | |
| } else if (letter === ')') { | |
| if (func > 0) func -= 1 | |
| } else if (func === 0) { | |
| if (separators.includes(letter)) split = true | |
| } | |
| if (split) { | |
| if (current !== '') array.push(current.trim()) | |
| current = '' | |
| split = false | |
| } else { | |
| current += letter | |
| } | |
| } | |
| if (last || current !== '') array.push(current.trim()) | |
| return array | |
| } | |
| } | |
| module.exports = list | |
| list.default = list | |