ipswy commited on
Commit
06f3fdd
·
verified ·
1 Parent(s): 37906e6

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +37 -63
README.md CHANGED
@@ -1,63 +1,37 @@
1
- ---
2
- base_model: unsloth/Qwen2.5-1.5B-Instruct-bnb-4bit
3
- library_name: peft
4
- model_name: senti_shujaa_v4
5
- tags:
6
- - base_model:adapter:unsloth/Qwen2.5-1.5B-Instruct-bnb-4bit
7
- - lora
8
- - sft
9
- - transformers
10
- - trl
11
- - unsloth
12
- licence: license
13
- pipeline_tag: text-generation
14
- ---
15
-
16
- # Model Card for senti_shujaa_v4
17
-
18
- This model is a fine-tuned version of [unsloth/Qwen2.5-1.5B-Instruct-bnb-4bit](https://huggingface.co/unsloth/Qwen2.5-1.5B-Instruct-bnb-4bit).
19
- It has been trained using [TRL](https://github.com/huggingface/trl).
20
-
21
- ## Quick start
22
-
23
- ```python
24
- from transformers import pipeline
25
-
26
- question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
27
- generator = pipeline("text-generation", model="None", device="cuda")
28
- output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
29
- print(output["generated_text"])
30
- ```
31
-
32
- ## Training procedure
33
-
34
-
35
-
36
-
37
- This model was trained with SFT.
38
-
39
- ### Framework versions
40
-
41
- - PEFT 0.18.1
42
- - TRL: 0.24.0
43
- - Transformers: 5.5.0
44
- - Pytorch: 2.10.0+cu128
45
- - Datasets: 4.3.0
46
- - Tokenizers: 0.22.2
47
-
48
- ## Citations
49
-
50
-
51
-
52
- Cite TRL as:
53
-
54
- ```bibtex
55
- @misc{vonwerra2022trl,
56
- title = {{TRL: Transformer Reinforcement Learning}},
57
- author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
58
- year = 2020,
59
- journal = {GitHub repository},
60
- publisher = {GitHub},
61
- howpublished = {\url{https://github.com/huggingface/trl}}
62
- }
63
- ```
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ - sw
6
+ tags:
7
+ - finance
8
+ - kenya
9
+ - africa
10
+ - qwen2
11
+ - lora
12
+ - senti-ai
13
+ pipeline_tag: text-generation
14
+ library_name: transformers
15
+ base_model: Qwen/Qwen2.5-1.5B-Instruct
16
+ ---
17
+
18
+ # Senti-Shujaa V4
19
+
20
+ **Senti-Shujaa** is a finance-specialized language model fine-tuned for Kenya and East Africa.
21
+
22
+ ## Model Details
23
+ - **Base Model**: Qwen2.5-1.5B-Instruct
24
+ - **Fine-tuning**: LoRA (rank=16, alpha=128) with DPO
25
+ - **Training**: Unsloth + 4-bit QLoRA on finance-specific data
26
+ - **Languages**: English, Swahili, Sheng
27
+
28
+ ## Capabilities
29
+ - PAYE/Tax calculations routing
30
+ - Budget planning and coaching
31
+ - Credit scoring and risk assessment
32
+ - SACCO portfolio analysis
33
+ - Compliance and regulatory guidance (KRA, SASRA)
34
+ - Swahili and Sheng financial literacy
35
+
36
+ ## Usage
37
+ This model is served via the HuggingFace Serverless Inference API as the Brain of Senti AI.