mjmanashti
commited on
Commit
•
5fc11f0
1
Parent(s):
545f8f3
Update README.md
Browse files
README.md
CHANGED
@@ -26,10 +26,10 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
26 |
import torch
|
27 |
|
28 |
|
29 |
-
tokenizer = AutoTokenizer.from_pretrained("mjmanashti/
|
30 |
torch.set_default_dtype(torch.float16)
|
31 |
|
32 |
-
model = AutoModelForCausalLM.from_pretrained("mjmanashti/
|
33 |
|
34 |
chat = [
|
35 |
{ "role": "user", "content": "Based on the following input data: [Time: 2024-01-29 23:00:00, Open: 1.0834, High: 1.0837, Low: 1.08334, Close: 1.08338, Volume: 722] what trading signal (BUY, SELL, or HOLD) should be executed to maximize profit? If the signal is BUY, what would be the entry price and If the signal is SELL, what would be the exit price for profit maximization? " },
|
|
|
26 |
import torch
|
27 |
|
28 |
|
29 |
+
tokenizer = AutoTokenizer.from_pretrained("mjmanashti/gemma-2b-ForexAI")
|
30 |
torch.set_default_dtype(torch.float16)
|
31 |
|
32 |
+
model = AutoModelForCausalLM.from_pretrained("mjmanashti/gemma-2b-ForexAI", device_map="auto")
|
33 |
|
34 |
chat = [
|
35 |
{ "role": "user", "content": "Based on the following input data: [Time: 2024-01-29 23:00:00, Open: 1.0834, High: 1.0837, Low: 1.08334, Close: 1.08338, Volume: 722] what trading signal (BUY, SELL, or HOLD) should be executed to maximize profit? If the signal is BUY, what would be the entry price and If the signal is SELL, what would be the exit price for profit maximization? " },
|