Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,41 +1,53 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
struct:
|
| 18 |
-
- name: date
|
| 19 |
-
dtype: string
|
| 20 |
-
splits:
|
| 21 |
-
- name: train
|
| 22 |
-
num_bytes: 12367731
|
| 23 |
-
num_examples: 4290
|
| 24 |
-
- name: validation
|
| 25 |
-
num_bytes: 2739441
|
| 26 |
-
num_examples: 1095
|
| 27 |
-
- name: test
|
| 28 |
-
num_bytes: 209521
|
| 29 |
-
num_examples: 84
|
| 30 |
-
download_size: 2287297
|
| 31 |
-
dataset_size: 15316693
|
| 32 |
-
configs:
|
| 33 |
-
- config_name: default
|
| 34 |
-
data_files:
|
| 35 |
-
- split: train
|
| 36 |
-
path: data/train-*
|
| 37 |
-
- split: validation
|
| 38 |
-
path: data/validation-*
|
| 39 |
-
- split: test
|
| 40 |
-
path: data/test-*
|
| 41 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
pretty_name: Bitcoin SLLM Instruction Dataset
|
| 3 |
+
tags:
|
| 4 |
+
- bitcoin
|
| 5 |
+
- finance
|
| 6 |
+
- instruction-tuning
|
| 7 |
+
- sft
|
| 8 |
+
license: other
|
| 9 |
+
language:
|
| 10 |
+
- en
|
| 11 |
+
task_categories:
|
| 12 |
+
- time-series-forecasting
|
| 13 |
+
- text-classification
|
| 14 |
+
- tabular-regression
|
| 15 |
+
size_categories:
|
| 16 |
+
- 1K<n<10K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
---
|
| 18 |
+
|
| 19 |
+
# Bitcoin SLLM Instruction Dataset
|
| 20 |
+
|
| 21 |
+
Daily BTC context transformed into instruction-tuning triples for small LMs.
|
| 22 |
+
|
| 23 |
+
## Schema
|
| 24 |
+
|
| 25 |
+
- **id**: unique example id
|
| 26 |
+
- **task**: `direction_cls` | `return_reg` | `maxdd_cls`
|
| 27 |
+
- **split**: `train` | `validation` | `test` (time-based)
|
| 28 |
+
- **instruction**: natural-language task definition
|
| 29 |
+
- **input**: compact JSON string with features (technicals, macro, on-chain, text snippets)
|
| 30 |
+
- **output**: compact JSON string with target(s)
|
| 31 |
+
- **meta**: `{ "date": "YYYY-MM-DD" }`
|
| 32 |
+
|
| 33 |
+
## Targets
|
| 34 |
+
|
| 35 |
+
- **direction_cls**: UP (>+2%), FLAT (−2%..+2%), DOWN (<−2%) at t+10; includes `r10`.
|
| 36 |
+
- **return_reg**: 10-day log return `r10_log`.
|
| 37 |
+
- **maxdd_cls**: next-10-day max drawdown bucket (`low`/`med`/`high`) with raw `maxdd`.
|
| 38 |
+
|
| 39 |
+
## Load
|
| 40 |
+
|
| 41 |
+
```python
|
| 42 |
+
from datasets import load_dataset
|
| 43 |
+
ds = load_dataset("tahamajs/bitcoin-sllm-instruct")
|
| 44 |
+
print(ds) # DatasetDict with train/validation/test
|
| 45 |
+
print(ds["train"][0]) # one example
|
| 46 |
+
````
|
| 47 |
+
|
| 48 |
+
## Notes
|
| 49 |
+
|
| 50 |
+
* Text is truncated to short snippets to keep token usage low.
|
| 51 |
+
* Normalize numeric features at train time using **train** split stats only.
|
| 52 |
+
* Review licensing of underlying sources; this repo may be private.
|
| 53 |
+
|