chifural commited on
Commit
a6739e6
·
verified ·
1 Parent(s): 802818a

Initial Mhondoro release (mirrored + rebranded)

Browse files
Files changed (3) hide show
  1. README.md +59 -0
  2. config.json +13 -0
  3. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - finance
5
+ - time-series
6
+ - forecasting
7
+ - candlestick
8
+ - kline
9
+ - foundation-model
10
+ library_name: transformers
11
+ ---
12
+
13
+ # Mhondoro-mini
14
+
15
+ `Mhondoro-mini` is part of the **Mhondoro** family of open-source foundation models for
16
+ financial time-series forecasting, released by [Louis Chifura](https://huggingface.co/chifural).
17
+
18
+ Mhondoro models tokenize OHLCV candlestick (K-line) sequences and predict future
19
+ candles autoregressively. They are designed as a unified base for downstream
20
+ quantitative tasks such as price forecasting, volatility prediction, and regime detection.
21
+
22
+ ## Model family
23
+
24
+ | Model | Tokenizer | Context | Params |
25
+ |---|---|---|---|
26
+ | Mhondoro-mini | Mhondoro-Tokenizer-2k | 2048 | 4.1M |
27
+ | Mhondoro-small | Mhondoro-Tokenizer-base | 512 | 24.7M |
28
+ | Mhondoro-base | Mhondoro-Tokenizer-base | 512 | 102.3M |
29
+
30
+ ## Quick start
31
+
32
+ ```python
33
+ from model.mhondoro import Mhondoro, MhondoroTokenizer, MhondoroPredictor
34
+
35
+ tokenizer = MhondoroTokenizer.from_pretrained("chifural/Mhondoro-Tokenizer-base")
36
+ model = Mhondoro.from_pretrained("chifural/Mhondoro-small")
37
+ predictor = MhondoroPredictor(model=model, tokenizer=tokenizer, device="cuda:0")
38
+
39
+ forecast = predictor.predict(
40
+ df=ohlcv_dataframe,
41
+ x_timestamp=context_timestamps,
42
+ y_timestamp=forecast_timestamps,
43
+ pred_len=120,
44
+ )
45
+ ```
46
+
47
+ Source code: [github.com/vigilancetrent/mhondoro](https://github.com/vigilancetrent/mhondoro).
48
+
49
+ ## License
50
+
51
+ MIT. Copyright (c) 2026 Louis Chifura.
52
+
53
+ ## Notice
54
+
55
+ This work builds on the architectural design of the open-source NeoQuasar/Kronos
56
+ project (MIT, Copyright (c) 2025 ShiYu). The Mhondoro fork extends the original
57
+ with additional fine-tuning workflows, broader market coverage, and an evolving
58
+ feature set. See the upstream project at https://github.com/Shiyu-Coder/Kronos
59
+ for the historical record.
config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attn_dropout_p": 0.0,
3
+ "d_model": 256,
4
+ "ff_dim": 512,
5
+ "ffn_dropout_p": 0.2,
6
+ "learn_te": true,
7
+ "n_heads": 4,
8
+ "n_layers": 4,
9
+ "resid_dropout_p": 0.2,
10
+ "s1_bits": 10,
11
+ "s2_bits": 10,
12
+ "token_dropout_p": 0.0
13
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7d5f37e2e9fbd9891f7d7d4f72574512dd1f704fee14223e0a8cd0fbf54197c
3
+ size 16440776