Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: llama3.1
|
| 3 |
+
base_model: meta-llama/Llama-3.1-8B-Instruct
|
| 4 |
+
tags:
|
| 5 |
+
- llama
|
| 6 |
+
- llama-3
|
| 7 |
+
- gguf
|
| 8 |
+
- quantized
|
| 9 |
+
- indian-accounting
|
| 10 |
+
- ind-as
|
| 11 |
+
- finance
|
| 12 |
+
- accounting
|
| 13 |
+
- ca
|
| 14 |
+
language:
|
| 15 |
+
- en
|
| 16 |
+
pipeline_tag: text-generation
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# Llama-CAPRO (CA Professional) - Indian Accounting Standards Expert
|
| 20 |
+
|
| 21 |
+
CAPRO is a specialized AI assistant for Chartered Accountants and finance professionals, fine-tuned on Indian Accounting Standards (Ind AS).
|
| 22 |
+
|
| 23 |
+
## Model Details
|
| 24 |
+
|
| 25 |
+
- **Base Model**: meta-llama/Llama-3.1-8B-Instruct
|
| 26 |
+
- **Fine-tuned Adapter**: [0xadityam/llama-aica](https://huggingface.co/0xadityam/llama-aica)
|
| 27 |
+
- **Domain**: Indian Accounting Standards (Ind AS)
|
| 28 |
+
- **Format**: GGUF (Ollama, LM Studio, llama.cpp ready)
|
| 29 |
+
- **Training**: LoRA fine-tuned on 269 Ind AS examples
|
| 30 |
+
|
| 31 |
+
## Available Quantizations
|
| 32 |
+
|
| 33 |
+
| Format | Size | Use Case | RAM Required |
|
| 34 |
+
|--------|------|----------|--------------|
|
| 35 |
+
| F16 | ~15GB | Maximum quality | 20GB+ |
|
| 36 |
+
| Q5_K_M | ~5.5GB | Good quality, laptops | 8-12GB |
|
| 37 |
+
| Q4_K_M | ~4.5GB | Balanced, edge devices | 6-8GB |
|
| 38 |
+
|
| 39 |
+
## Quick Start with Ollama
|
| 40 |
+
|
| 41 |
+
Download Q4_K_M (recommended)
|
| 42 |
+
wget https://huggingface.co/teclabs/llama-capro/resolve/main/llama-capro-q4_k_m.gguf
|
| 43 |
+
|
| 44 |
+
Create model
|
| 45 |
+
ollama create llama-capro -f Modelfile-q4-k-m
|
| 46 |
+
|
| 47 |
+
Run
|
| 48 |
+
ollama run llama-capro
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
## Sample Queries
|
| 52 |
+
|
| 53 |
+
- "What is the objective of Ind AS 1?"
|
| 54 |
+
- "Explain revenue recognition under Ind AS 115"
|
| 55 |
+
- "What are disclosure requirements for financial instruments?"
|
| 56 |
+
- "How should goodwill be accounted for under Ind AS?"
|
| 57 |
+
- "What is the difference between Ind AS and IFRS?"
|
| 58 |
+
|
| 59 |
+
## Modelfile (Ollama)
|
| 60 |
+
|
| 61 |
+
FROM llama-capro-q4_k_m.gguf
|
| 62 |
+
|
| 63 |
+
PARAMETER temperature 0.7
|
| 64 |
+
PARAMETER top_p 0.9
|
| 65 |
+
PARAMETER stop "<|eot_id|>"
|
| 66 |
+
PARAMETER num_ctx 2048
|
| 67 |
+
|
| 68 |
+
SYSTEM "You are CAPRO (CA Professional), an expert on Indian Accounting Standards (Ind AS). Provide accurate answers about Ind AS regulations and accounting policies."
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
## Use with LM Studio
|
| 72 |
+
|
| 73 |
+
1. Download LM Studio from [lmstudio.ai](https://lmstudio.ai)
|
| 74 |
+
2. Click "Import" → "Import GGUF"
|
| 75 |
+
3. Select the downloaded .gguf file
|
| 76 |
+
4. Start chatting
|
| 77 |
+
|
| 78 |
+
## Training Details
|
| 79 |
+
|
| 80 |
+
- **LoRA Rank**: 64
|
| 81 |
+
- **LoRA Alpha**: 16
|
| 82 |
+
- **Training Epochs**: 3
|
| 83 |
+
- **Learning Rate**: 2e-4
|
| 84 |
+
- **Max Sequence Length**: 2048
|
| 85 |
+
- **Training Data**: 269 examples covering Ind AS 1 and related standards
|
| 86 |
+
|
| 87 |
+
## Limitations
|
| 88 |
+
|
| 89 |
+
- Specialized for Indian Accounting Standards
|
| 90 |
+
- Not suitable for other accounting standards (IFRS, US GAAP)
|
| 91 |
+
- Responses should be verified with official documents
|
| 92 |
+
- Not for legal or investment advice
|
| 93 |
+
|
| 94 |
+
## License
|
| 95 |
+
|
| 96 |
+
Llama 3.1 Community License
|
| 97 |
+
|
| 98 |
+
## Acknowledgements
|
| 99 |
+
|
| 100 |
+
- Base model: [meta-llama/Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct)
|
| 101 |
+
- LoRA adapter: [0xadityam/llama-aica](https://huggingface.co/0xadityam/llama-aica)
|
| 102 |
+
- Conversion: llama.cpp
|
| 103 |
+
|
| 104 |
+
---
|
| 105 |
+
|
| 106 |
+
**CAPRO** - CA Professional AI Assistant
|
| 107 |
+
Generated: 2025-11-14
|