⚖️ Status Law Assistant
Knowledge Base Management
Information Sources
https://status.law/tariffs-for-services-against-extradition-en | true | Ready |
Rebuild Knowledge Base: Recreates the entire knowledge base from scratch. Use this if there are inconsistencies.
All changes are saved to the Hugging Face dataset.
Knowledge Base Information
Status: Active
Documents: 161
Sources: 13
Last updated: Unknown
Model Configuration
Current Model: Llama 2 7B Chat
Model ID: meta-llama/Llama-2-7b-chat-hf
Description: Meta's Llama 2 7B model optimized for chat
Type: base
Meta Llama 2 7B Chat
Capabilities:
- Multilingual support
- Good performance on legal texts
- Free model with open license
- Can run on computers with 16GB+ RAM
Limitations:
- Limited knowledge of specific legal terminology
- May provide incorrect answers to complex legal questions
- Knowledge is limited to training data
Recommended Use Cases:
- Legal document analysis
- Answering general legal questions
- Searching through legal knowledge base
- Assistance in document drafting
Training Configuration
Base Model Path:
/home/user/app/models/llama-2-7b-chat
Fine-tuned Model Path:
/tmp/status_law_kb/fine_tuned_models/llama-2-7b-chat-tuned
LoRA Configuration:
- Rank (r): 16
- Alpha: 32
- Dropout: 0.05
Model Training Interface
Epochs:
Lower = Faster training -> Higher = Model learns more thoroughly
Best for small datasets: 3-5 -> Best for large datasets: 1-2
Batch Size:
Lower = Slower but more stable -> Higher = Faster but needs more RAM
4 = Good for 16GB RAM -> 8 = Good for 32GB RAM
Learning Rate:
Lower = Learns slower but more reliable -> Higher = Learns faster but may be unstable
2e-4 (0.0002) = Usually works best -> 1e-4 = Safer choice for fine-tuning