Instructions to use RobinArena/TradeFinder-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use RobinArena/TradeFinder-1 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("thinkingmachines/Inkling") model = PeftModel.from_pretrained(base_model, "RobinArena/TradeFinder-1") - Notebooks
- Google Colab
- Kaggle
Commit ·
e93c701
0
Parent(s):
Publish sanitized TradeFinder 1 adapter
Browse files- .gitattributes +1 -0
- README.md +61 -0
- adapter_config.json +37 -0
- adapter_model.safetensors +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: thinkingmachines/Inkling
|
| 4 |
+
library_name: peft
|
| 5 |
+
pipeline_tag: text-generation
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- finance
|
| 10 |
+
- trading
|
| 11 |
+
- lora
|
| 12 |
+
- tinker
|
| 13 |
+
- inkling
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# TradeFinder 1
|
| 17 |
+
|
| 18 |
+
TradeFinder 1 is an AI model by [RobinArena](https://github.com/RobinArena).
|
| 19 |
+
It is a LoRA adapter for
|
| 20 |
+
[`thinkingmachines/Inkling`](https://huggingface.co/thinkingmachines/Inkling),
|
| 21 |
+
trained with the Thinking Machines Tinker API.
|
| 22 |
+
|
| 23 |
+
The model was trained to produce structured stock-trading decisions and to
|
| 24 |
+
review prior decisions after their realized outcomes are known. Review examples
|
| 25 |
+
include the original decision, subsequent return, and position PnL. Targets
|
| 26 |
+
identify decisions as right or wrong, correct faulty reasoning, and preserve
|
| 27 |
+
useful reasoning from successful decisions.
|
| 28 |
+
|
| 29 |
+
## Files
|
| 30 |
+
|
| 31 |
+
`adapter_model.safetensors` contains the trained LoRA weights.
|
| 32 |
+
`adapter_config.json` records the PEFT configuration and Inkling base model.
|
| 33 |
+
This repository contains an adapter, so the Inkling base weights are required
|
| 34 |
+
for local inference.
|
| 35 |
+
|
| 36 |
+
Training examples combined past-only daily market features, portfolio state,
|
| 37 |
+
structured buy, hold, and sell decisions, retrospective outcome reviews, and
|
| 38 |
+
explicit model-identity examples. Future returns and PnL were used only in
|
| 39 |
+
retrospective labels and were excluded from live decision prompts.
|
| 40 |
+
|
| 41 |
+
## Inference
|
| 42 |
+
|
| 43 |
+
The adapter was trained with Tinker's `tml_v0` renderer. The matching hosted
|
| 44 |
+
sampler is the most direct way to reproduce training-time rendering. Local PEFT,
|
| 45 |
+
llama.cpp, vLLM, and SGLang support depends on their Inkling adapter support.
|
| 46 |
+
At publication time, llama.cpp can run quantized Inkling base models but its
|
| 47 |
+
LoRA-to-GGUF converter does not support `InklingForConditionalGeneration`.
|
| 48 |
+
|
| 49 |
+
## Intended use
|
| 50 |
+
|
| 51 |
+
TradeFinder 1 is intended for research, model evaluation, and paper trading.
|
| 52 |
+
Its outputs can be incorrect, stale, or poorly calibrated. It does not provide
|
| 53 |
+
personalized financial advice. Validate decisions against current primary data,
|
| 54 |
+
apply portfolio-level risk controls, and require human approval before placing
|
| 55 |
+
trades. Historical correctness and low training loss do not establish future
|
| 56 |
+
profitability.
|
| 57 |
+
|
| 58 |
+
## Attribution
|
| 59 |
+
|
| 60 |
+
Developed and fine-tuned by RobinArena. The base Inkling model is published by
|
| 61 |
+
Thinking Machines Lab under its stated license and acceptable-use terms.
|
adapter_config.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"auto_mapping": null,
|
| 5 |
+
"base_model_name_or_path": "thinkingmachines/Inkling",
|
| 6 |
+
"bias": "none",
|
| 7 |
+
"corda_config": null,
|
| 8 |
+
"ensure_weight_tying": false,
|
| 9 |
+
"eva_config": null,
|
| 10 |
+
"exclude_modules": null,
|
| 11 |
+
"fan_in_fan_out": false,
|
| 12 |
+
"inference_mode": true,
|
| 13 |
+
"init_lora_weights": true,
|
| 14 |
+
"layer_replication": null,
|
| 15 |
+
"layers_pattern": null,
|
| 16 |
+
"layers_to_transform": null,
|
| 17 |
+
"loftq_config": {},
|
| 18 |
+
"lora_alpha": 32,
|
| 19 |
+
"lora_bias": false,
|
| 20 |
+
"lora_dropout": 0,
|
| 21 |
+
"megatron_config": null,
|
| 22 |
+
"megatron_core": "megatron.core",
|
| 23 |
+
"modules_to_save": null,
|
| 24 |
+
"peft_type": "LORA",
|
| 25 |
+
"peft_version": "0.18.1",
|
| 26 |
+
"qalora_group_size": 16,
|
| 27 |
+
"r": 32,
|
| 28 |
+
"rank_pattern": {},
|
| 29 |
+
"revision": null,
|
| 30 |
+
"target_modules": "all-linear",
|
| 31 |
+
"target_parameters": null,
|
| 32 |
+
"task_type": "CAUSAL_LM",
|
| 33 |
+
"trainable_token_indices": null,
|
| 34 |
+
"use_dora": false,
|
| 35 |
+
"use_qalora": false,
|
| 36 |
+
"use_rslora": false
|
| 37 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f1b0ee1294a22f5f33add5166c0d46b263e61907f393401455d75babd10b58d2
|
| 3 |
+
size 20267367632
|