Instructions to use ckcl/mexc_price_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use ckcl/mexc_price_model with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("fill-in-model-name") model.load_adapter("ckcl/mexc_price_model", set_active=True) - Notebooks
- Google Colab
- Kaggle
Create setting.json
Browse files- setting.json +14 -0
setting.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import json
|
| 2 |
+
|
| 3 |
+
config = {
|
| 4 |
+
"input_dim": 13,
|
| 5 |
+
"model_dim": 64,
|
| 6 |
+
"num_heads": 8,
|
| 7 |
+
"num_layers": 2,
|
| 8 |
+
"output_dim": 1,
|
| 9 |
+
"model_type": "custom_transformer"
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
config_save_path = r'setting.json'
|
| 13 |
+
with open(config_save_path, 'w') as f:
|
| 14 |
+
json.dump(config, f)
|