Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
@@ -11,4 +11,60 @@ license: apache-2.0
|
|
11 |
short_description: Fiscal AI Assitant
|
12 |
---
|
13 |
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
short_description: Fiscal AI Assitant
|
12 |
---
|
13 |
|
14 |
+
FislacBot - AI Assistant for FISLAC Documentation
|
15 |
+
FislacBot is an artificial intelligence assistant specialized in FISLAC (Fiscal Latin America and Caribbean) documentation and fiscal analysis. It uses the Llama-2-7b model with RAG (Retrieval Augmented Generation) to provide accurate responses based on official documentation.
|
16 |
+
Author
|
17 |
+
Camilo Vega Barbosa
|
18 |
+
|
19 |
+
AI Professor and Artificial Intelligence Solutions Consultant
|
20 |
+
Connect with me:
|
21 |
+
|
22 |
+
LinkedIn
|
23 |
+
GitHub
|
24 |
+
|
25 |
+
|
26 |
+
|
27 |
+
Features
|
28 |
+
|
29 |
+
RAG-powered responses using official FISLAC documentation
|
30 |
+
Interactive chat interface using Gradio
|
31 |
+
GPU-accelerated inference
|
32 |
+
Context-aware responses with source tracking
|
33 |
+
|
34 |
+
How It Works
|
35 |
+
The application uses a sophisticated RAG system that:
|
36 |
+
|
37 |
+
Processes and indexes FISLAC documentation
|
38 |
+
Generates embeddings using multilingual-e5-large
|
39 |
+
Uses FAISS for efficient vector storage and retrieval
|
40 |
+
Combines retrieved context with Llama-2 for accurate responses
|
41 |
+
|
42 |
+
Technical Details
|
43 |
+
|
44 |
+
Model: Meta-llama/Llama-2-7b-chat-hf
|
45 |
+
Embeddings: intfloat/multilingual-e5-large
|
46 |
+
Vector Store: FAISS
|
47 |
+
Framework: Gradio
|
48 |
+
Dependencies: Managed through requirements.txt
|
49 |
+
Device Configuration: GPU-optimized using Accelerate
|
50 |
+
|
51 |
+
Installation
|
52 |
+
To run this application locally:
|
53 |
+
|
54 |
+
Clone the repository
|
55 |
+
Install dependencies:
|
56 |
+
bashCopypip install -r requirements.txt
|
57 |
+
|
58 |
+
Run the application:
|
59 |
+
bashCopypython app.py
|
60 |
+
|
61 |
+
|
62 |
+
Knowledge Base
|
63 |
+
The system is trained on:
|
64 |
+
|
65 |
+
Official FISLAC documentation
|
66 |
+
Valencia et al. (2022) - "Assessing macro-fiscal risk for Latin American and Caribbean countries"
|
67 |
+
Additional BID fiscal documentation
|
68 |
+
|
69 |
+
|
70 |
+
Created by Camilo Vega Barbosa, AI Professor and Solutions Consultant. For more AI projects and collaborations, feel free to connect on LinkedIn or visit my GitHub.
|