CHATMOBOT commited on
Commit
918161c
·
verified ·
1 Parent(s): 3efc918

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ - tw
6
+ - ga
7
+ - ew
8
+ - ha
9
+ tags:
10
+ - financial-ai
11
+ - ghana
12
+ - whatsapp-banking
13
+ - multilingual
14
+ - fintech
15
+ - africa
16
+ pipeline_tag: text-generation
17
+ ---
18
+
19
+ # CHATMOBOT/mobot-ghana-working
20
+
21
+ MOBOT - Ghana's Working WhatsApp Banking AI
22
+
23
+ ## 🇬🇭 Overview
24
+
25
+ MOBOT is Ghana's premier WhatsApp banking AI, designed to make banking simple, secure, and accessible through natural conversations. This working model is ready for production use.
26
+
27
+ ## 🚀 Key Features
28
+
29
+ - **WhatsApp Banking**: Natural conversations for money transfers, bill payments, airtime/data
30
+ - **Ghana-Specific**: Trained with Ghana financial context and local tokens
31
+ - **Multi-Language Support**: English, Twi, Ga, Ewe, Hausa
32
+ - **Local Context**: Understanding of Ghana banks, mobile money, and financial services
33
+ - **Production Ready**: Tested and verified for inference
34
+
35
+ ## 🔧 Technical Specifications
36
+
37
+ - **Base Model**: Microsoft DialoGPT-small
38
+ - **Model Type**: GPT-2 based
39
+ - **Languages**: 5 local languages
40
+ - **Specialized Tokens**: Ghana financial tokens (GHS, MTN, ECG, etc.)
41
+ - **Model Size**: ~117MB
42
+ - **Status**: Production Ready
43
+
44
+ ## 💰 Banking Features
45
+
46
+ ### Money Transfers
47
+ - Send money to friends and family
48
+ - Bank-to-bank transfers
49
+ - Mobile money transfers (MTN MoMo, Vodafone Cash, AirtelTigo)
50
+
51
+ ### Bill Payments
52
+ - Utility bills (ECG, water, internet)
53
+ - TV subscriptions (DStv, GOtv, Netflix)
54
+ - Government services
55
+
56
+ ### Mobile Services
57
+ - Airtime top-up for all networks
58
+ - Data bundle purchases
59
+ - Mobile money services
60
+
61
+ ### Account Management
62
+ - Balance inquiries
63
+ - Transaction history
64
+ - PIN management
65
+ - Account security
66
+
67
+ ## 🏦 Supported Partners
68
+
69
+ ### Banks
70
+ - Ghana Commercial Bank (GCB)
71
+ - Ecobank Ghana
72
+ - Standard Chartered Ghana
73
+ - Absa Bank Ghana
74
+ - Fidelity Bank Ghana
75
+ - Zenith Bank Ghana
76
+ - Access Bank Ghana
77
+ - Stanbic Bank Ghana
78
+
79
+ ### Mobile Money
80
+ - MTN Mobile Money (MoMo)
81
+ - Vodafone Cash
82
+ - AirtelTigo Money
83
+
84
+ ### Payment Providers
85
+ - Paystack Ghana
86
+ - Hubtel
87
+ - ExpressPay
88
+ - Flutterwave Ghana
89
+
90
+ ## 📱 Usage
91
+
92
+ ```python
93
+ from transformers import AutoTokenizer, AutoModelForCausalLM
94
+
95
+ tokenizer = AutoTokenizer.from_pretrained("CHATMOBOT/mobot-ghana-working")
96
+ model = AutoModelForCausalLM.from_pretrained("CHATMOBOT/mobot-ghana-working")
97
+
98
+ # Example usage
99
+ input_text = "Send 100 cedis to John"
100
+ inputs = tokenizer.encode(input_text, return_tensors="pt")
101
+ outputs = model.generate(inputs, max_length=100, temperature=0.7)
102
+ response = tokenizer.decode(outputs[0], skip_special_tokens=True)
103
+ print(response)
104
+ ```
105
+
106
+ ## 🛡️ Security & Trust
107
+
108
+ - Bank-level encryption
109
+ - PIN protection for all transactions
110
+ - Real-time fraud monitoring
111
+ - 24/7 security surveillance
112
+ - Emergency account controls
113
+
114
+ ## 📞 Contact
115
+
116
+ - **WhatsApp**: +233 544 088 561
117
+ - **Email**: support@chatmobot.com
118
+ - **Website**: https://chatmobot.com
119
+
120
+ ## 🎯 Mission
121
+
122
+ To make banking accessible to every Ghanaian through the power of AI and WhatsApp.
123
+
124
+ ---
125
+
126
+ *MOBOT - Banking made simple through WhatsApp. Trusted by thousands of Ghanaians for secure, fast, and convenient financial services.*
added_tokens.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "<ACCOUNT>": 50280,
3
+ "<AMOUNT>": 50279,
4
+ "<PHONE>": 50278,
5
+ "<PIN>": 50281,
6
+ "Absa": 50273,
7
+ "AirtelTigo": 50265,
8
+ "ECG": 50266,
9
+ "Ecobank": 50271,
10
+ "ExpressPay": 50277,
11
+ "Fidelity": 50274,
12
+ "GCB": 50270,
13
+ "GHS": 50257,
14
+ "GRA": 50267,
15
+ "Ghc": 50259,
16
+ "Hubtel": 50276,
17
+ "MTN": 50262,
18
+ "MTN-MOMO": 50263,
19
+ "NHIA": 50268,
20
+ "Paystack": 50275,
21
+ "SSNIT": 50269,
22
+ "Stanbic": 50272,
23
+ "Vodafone": 50264,
24
+ "cedi": 50261,
25
+ "cedis": 50260,
26
+ "ghc": 50258
27
+ }
chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {% for message in messages %}{{ message.content }}{{ eos_token }}{% endfor %}
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "GPT2LMHeadModel"
4
+ ],
5
+ "model_type": "gpt2",
6
+ "n_positions": 1024,
7
+ "n_ctx": 1024,
8
+ "n_embd": 768,
9
+ "n_layer": 12,
10
+ "n_head": 12,
11
+ "activation_function": "gelu_new",
12
+ "resid_pdrop": 0.1,
13
+ "embd_pdrop": 0.1,
14
+ "attn_pdrop": 0.1,
15
+ "layer_norm_epsilon": 1e-05,
16
+ "initializer_range": 0.02,
17
+ "summary_type": "cls_index",
18
+ "summary_use_proj": true,
19
+ "summary_activation": null,
20
+ "summary_proj_to_labels": true,
21
+ "summary_first_dropout": 0.1,
22
+ "scale_attn_weights": true,
23
+ "use_cache": true,
24
+ "scale_attn_by_inverse_layer_idx": false,
25
+ "reorder_and_upcast_attn": false,
26
+ "vocab_size": 50282,
27
+ "bos_token_id": 50256,
28
+ "eos_token_id": 50256,
29
+ "pad_token_id": 50256,
30
+ "transformers_version": "4.57.1"
31
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "transformers_version": "4.57.1"
6
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15747807e410c94a3503bd8337aab7578046b3b1db55c22dc1bb3c3f849ca923
3
+ size 497851008
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|endoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<|endoftext|>",
17
+ "unk_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,223 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "50256": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "50257": {
14
+ "content": "GHS",
15
+ "lstrip": false,
16
+ "normalized": true,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": false
20
+ },
21
+ "50258": {
22
+ "content": "ghc",
23
+ "lstrip": false,
24
+ "normalized": true,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": false
28
+ },
29
+ "50259": {
30
+ "content": "Ghc",
31
+ "lstrip": false,
32
+ "normalized": true,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": false
36
+ },
37
+ "50260": {
38
+ "content": "cedis",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": false
44
+ },
45
+ "50261": {
46
+ "content": "cedi",
47
+ "lstrip": false,
48
+ "normalized": true,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": false
52
+ },
53
+ "50262": {
54
+ "content": "MTN",
55
+ "lstrip": false,
56
+ "normalized": true,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": false
60
+ },
61
+ "50263": {
62
+ "content": "MTN-MOMO",
63
+ "lstrip": false,
64
+ "normalized": true,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": false
68
+ },
69
+ "50264": {
70
+ "content": "Vodafone",
71
+ "lstrip": false,
72
+ "normalized": true,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": false
76
+ },
77
+ "50265": {
78
+ "content": "AirtelTigo",
79
+ "lstrip": false,
80
+ "normalized": true,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": false
84
+ },
85
+ "50266": {
86
+ "content": "ECG",
87
+ "lstrip": false,
88
+ "normalized": true,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": false
92
+ },
93
+ "50267": {
94
+ "content": "GRA",
95
+ "lstrip": false,
96
+ "normalized": true,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": false
100
+ },
101
+ "50268": {
102
+ "content": "NHIA",
103
+ "lstrip": false,
104
+ "normalized": true,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": false
108
+ },
109
+ "50269": {
110
+ "content": "SSNIT",
111
+ "lstrip": false,
112
+ "normalized": true,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": false
116
+ },
117
+ "50270": {
118
+ "content": "GCB",
119
+ "lstrip": false,
120
+ "normalized": true,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "50271": {
126
+ "content": "Ecobank",
127
+ "lstrip": false,
128
+ "normalized": true,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "50272": {
134
+ "content": "Stanbic",
135
+ "lstrip": false,
136
+ "normalized": true,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "50273": {
142
+ "content": "Absa",
143
+ "lstrip": false,
144
+ "normalized": true,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "50274": {
150
+ "content": "Fidelity",
151
+ "lstrip": false,
152
+ "normalized": true,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "50275": {
158
+ "content": "Paystack",
159
+ "lstrip": false,
160
+ "normalized": true,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "50276": {
166
+ "content": "Hubtel",
167
+ "lstrip": false,
168
+ "normalized": true,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "50277": {
174
+ "content": "ExpressPay",
175
+ "lstrip": false,
176
+ "normalized": true,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "50278": {
182
+ "content": "<PHONE>",
183
+ "lstrip": false,
184
+ "normalized": true,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "50279": {
190
+ "content": "<AMOUNT>",
191
+ "lstrip": false,
192
+ "normalized": true,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "50280": {
198
+ "content": "<ACCOUNT>",
199
+ "lstrip": false,
200
+ "normalized": true,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "50281": {
206
+ "content": "<PIN>",
207
+ "lstrip": false,
208
+ "normalized": true,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
+ }
213
+ },
214
+ "bos_token": "<|endoftext|>",
215
+ "clean_up_tokenization_spaces": true,
216
+ "eos_token": "<|endoftext|>",
217
+ "errors": "replace",
218
+ "extra_special_tokens": {},
219
+ "model_max_length": 1024,
220
+ "pad_token": "<|endoftext|>",
221
+ "tokenizer_class": "GPT2Tokenizer",
222
+ "unk_token": "<|endoftext|>"
223
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff