Rustamshry commited on
Commit
6031bec
·
verified ·
1 Parent(s): 4055769

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +45 -47
README.md CHANGED
@@ -1,60 +1,58 @@
1
  ---
2
- library_name: transformers
3
  tags:
4
  - sft
5
  - unsloth
6
  - finance
7
- - llama-cpp
8
- - gguf-my-repo
9
  license: apache-2.0
10
  datasets:
11
  - atahanuz/stock_prediction
12
  language:
13
  - en
14
- base_model: khazarai/StockDirection-6K
 
15
  pipeline_tag: text-generation
16
  ---
17
 
18
- # Rustamshry/StockDirection-6K-Q8_0-GGUF
19
- This model was converted to GGUF format from [`khazarai/StockDirection-6K`](https://huggingface.co/khazarai/StockDirection-6K) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
20
- Refer to the [original model card](https://huggingface.co/khazarai/StockDirection-6K) for more details on the model.
21
-
22
- ## Use with llama.cpp
23
- Install llama.cpp through brew (works on Mac and Linux)
24
-
25
- ```bash
26
- brew install llama.cpp
27
-
28
- ```
29
- Invoke the llama.cpp server or the CLI.
30
-
31
- ### CLI:
32
- ```bash
33
- llama-cli --hf-repo Rustamshry/StockDirection-6K-Q8_0-GGUF --hf-file stockdirection-6k-q8_0.gguf -p "The meaning to life and the universe is"
34
- ```
35
-
36
- ### Server:
37
- ```bash
38
- llama-server --hf-repo Rustamshry/StockDirection-6K-Q8_0-GGUF --hf-file stockdirection-6k-q8_0.gguf -c 2048
39
- ```
40
-
41
- Note: You can also use this checkpoint directly through the [usage steps](https://github.com/ggerganov/llama.cpp?tab=readme-ov-file#usage) listed in the Llama.cpp repo as well.
42
-
43
- Step 1: Clone llama.cpp from GitHub.
44
- ```
45
- git clone https://github.com/ggerganov/llama.cpp
46
- ```
47
-
48
- Step 2: Move into the llama.cpp folder and build it with `LLAMA_CURL=1` flag along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).
49
- ```
50
- cd llama.cpp && LLAMA_CURL=1 make
51
- ```
52
-
53
- Step 3: Run inference through the main binary.
54
- ```
55
- ./llama-cli --hf-repo Rustamshry/StockDirection-6K-Q8_0-GGUF --hf-file stockdirection-6k-q8_0.gguf -p "The meaning to life and the universe is"
56
- ```
57
- or
58
- ```
59
- ./llama-server --hf-repo Rustamshry/StockDirection-6K-Q8_0-GGUF --hf-file stockdirection-6k-q8_0.gguf -c 2048
60
- ```
 
1
  ---
 
2
  tags:
3
  - sft
4
  - unsloth
5
  - finance
 
 
6
  license: apache-2.0
7
  datasets:
8
  - atahanuz/stock_prediction
9
  language:
10
  - en
11
+ base_model:
12
+ - unsloth/Qwen3-0.6B
13
  pipeline_tag: text-generation
14
  ---
15
 
16
+ # Model Card for StockDirection-6K
17
+
18
+ ## Model Details
19
+
20
+ StockDirection is a fine-tuned language model for binary stock movement prediction.
21
+ The model is trained to predict whether the next day’s stock price of Akbank (AKBNK), traded on Borsa Istanbul (BIST), will move UP or DOWN, based on the daily percentage changes from the last four days and the current day.
22
+
23
+ - Input: A formatted prompt describing the last 5 days of daily percentage price changes.
24
+ - Output: A simple categorical prediction — "UP" or "DOWN".
25
+
26
+ This model was fine-tuned on a dataset of 6,300 labeled rows of AKBNK stock data.
27
+
28
+ ## Uses
29
+
30
+ ### Direct Use
31
+
32
+ - Educational purposes: Demonstrating how LLMs can be fine-tuned for financial classification tasks.
33
+ - Research: Exploring text-based sequence learning for stock direction prediction.
34
+ - Proof of concept: Serving as an example for stock price direction prediction using natural language prompts.
35
+
36
+ ⚠️ Not for financial advice or live trading decisions.
37
+
38
+ ## Training Data
39
+
40
+ - Dataset: [atahanuz/stock_prediction](https://huggingface.co/datasets/atahanuz/stock_prediction)
41
+ - Size: 6,355 labeled examples.
42
+ - Structure: Each sample contains past 5 daily percentage changes and the target label (UP/DOWN).
43
+
44
+ Example:
45
+
46
+ ```vbnet
47
+ Question: You are an assistant that predicts whether a stock will go up or down in the next day
48
+ based on the daily percentage price changes of the last:
49
+ 4 days ago: nan
50
+ 3 days ago: 0.00
51
+ 2 days ago: 2.22
52
+ 1 day ago: -2.17
53
+ today: -2.22
54
+ Predict whether the next day's price will go up or down.
55
+ Simply write your prediction as UP or DOWN.
56
+
57
+ Answer: DOWN
58
+ ```