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 start_dev.ps1 from thilakx/Bankoflibreo: direct link, hf CLI and curl.
- Browser
- Download file 1.45 kB
-
https://huggingface.co/thilakx/Bankoflibreo/resolve/main/start_dev.ps1
- Command line
-
hf download hf://thilakx/Bankoflibreo/start_dev.ps1
-
curl -L -o start_dev.ps1 https://huggingface.co/thilakx/Bankoflibreo/resolve/main/start_dev.ps1
1.45 kB
| # start_dev.ps1 - Launch Backend + Frontend together | |
| # Run from the repo root: .\start_dev.ps1 | |
| $root = $PSScriptRoot | |
| Write-Host "========================================" -ForegroundColor Cyan | |
| Write-Host " Bank of Librio - RAG Dev Startup" -ForegroundColor Cyan | |
| Write-Host "========================================" -ForegroundColor Cyan | |
| # 1. Start FastAPI backend | |
| Write-Host "`n[1/2] Starting FastAPI backend on http://127.0.0.1:8000 ..." -ForegroundColor Yellow | |
| Start-Process powershell -ArgumentList "-NoExit", "-Command", @" | |
| Set-Location '$root\backend' | |
| Write-Host 'Backend: activating venv if available...' -ForegroundColor Cyan | |
| if (Test-Path '..\venv\Scripts\Activate.ps1') { & '..\venv\Scripts\Activate.ps1' } | |
| elseif (Test-Path '..\env\Scripts\Activate.ps1') { & '..\env\Scripts\Activate.ps1' } | |
| python -m uvicorn app:app --host 127.0.0.1 --port 8000 --reload | |
| "@ | |
| # 2. Start Vite frontend | |
| Write-Host "[2/2] Starting Vite frontend on http://localhost:5173 ..." -ForegroundColor Yellow | |
| Start-Process powershell -ArgumentList "-NoExit", "-Command", @" | |
| Set-Location '$root\frontend' | |
| npm run dev | |
| "@ | |
| Write-Host "`n[OK] Both servers launching in separate windows." -ForegroundColor Green | |
| Write-Host " Backend: http://127.0.0.1:8000" -ForegroundColor Green | |
| Write-Host " Frontend: http://localhost:5173" -ForegroundColor Green | |
| Write-Host "`nOpen http://localhost:5173 in your browser once both are ready.`n" -ForegroundColor Cyan | |