amos-fernandes commited on
Commit
cb9259f
·
verified ·
1 Parent(s): 0e6fa73

Upload 151 files

Browse files
README.md CHANGED
@@ -1,15 +1,12 @@
1
- ---
2
- title: Api
3
- emoji: 🌍
4
- colorFrom: indigo
5
- colorTo: pink
6
- sdk: gradio
7
- sdk_version: 5.34.2
8
- app_file: app.py
9
- pinned: false
10
- license: apache-2.0
11
- short_description: API de consumo bancário
12
- ---
13
-
14
-
15
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
+ ---
2
+ title: Aibank Token
3
+ emoji: 🐠
4
+ colorFrom: yellow
5
+ colorTo: pink
6
+ sdk: static
7
+ pinned: false
8
+ license: other
9
+ short_description: Token aibank
10
+ ---
11
+
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
agents/__pycache__/DeepPortfolioAgent.cpython-312.pyc CHANGED
Binary files a/agents/__pycache__/DeepPortfolioAgent.cpython-312.pyc and b/agents/__pycache__/DeepPortfolioAgent.cpython-312.pyc differ
 
agents/__pycache__/custom_policies.cpython-312.pyc CHANGED
Binary files a/agents/__pycache__/custom_policies.cpython-312.pyc and b/agents/__pycache__/custom_policies.cpython-312.pyc differ
 
agents/__pycache__/data_handler_multi_asset.cpython-312.pyc CHANGED
Binary files a/agents/__pycache__/data_handler_multi_asset.cpython-312.pyc and b/agents/__pycache__/data_handler_multi_asset.cpython-312.pyc differ
 
agents/__pycache__/deep_portfolio.cpython-312.pyc CHANGED
Binary files a/agents/__pycache__/deep_portfolio.cpython-312.pyc and b/agents/__pycache__/deep_portfolio.cpython-312.pyc differ
 
agents/__pycache__/deep_portfolio_torch.cpython-312.pyc CHANGED
Binary files a/agents/__pycache__/deep_portfolio_torch.cpython-312.pyc and b/agents/__pycache__/deep_portfolio_torch.cpython-312.pyc differ
 
agents/__pycache__/portfolio_environment.cpython-312.pyc CHANGED
Binary files a/agents/__pycache__/portfolio_environment.cpython-312.pyc and b/agents/__pycache__/portfolio_environment.cpython-312.pyc differ
 
agents/__pycache__/portfolio_features_extractor_torch.cpython-312.pyc CHANGED
Binary files a/agents/__pycache__/portfolio_features_extractor_torch.cpython-312.pyc and b/agents/__pycache__/portfolio_features_extractor_torch.cpython-312.pyc differ
 
agents/app/model/model2.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6e092222aca7f924ce78038117a42b2a69ad5dfd3727d0999e8e880e8a1648f
3
+ size 1178756
agents/app/model/model3.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6e092222aca7f924ce78038117a42b2a69ad5dfd3727d0999e8e880e8a1648f
3
+ size 1178756
agents/app/model/ppo_custom_deep_portfolio_agent.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6e092222aca7f924ce78038117a42b2a69ad5dfd3727d0999e8e880e8a1648f
3
+ size 1178756
agents/custom_policies.py CHANGED
@@ -39,7 +39,7 @@ from stable_baselines3.common.policies import ActorCriticPolicy
39
  from typing import List, Dict, Any, Optional, Union, Type
40
  # Importar sua rede e configs
41
  #import agents.DeepPortfolioAgent as DeepPortfolioAgent
42
- from agents.portfolio_features_extractor_torch import PortfolioFeaturesExtractorTorch
43
  # from ..config import (NUM_ASSETS, WINDOW_SIZE, NUM_FEATURES_PER_ASSET, ...) # Importe do seu config real
44
  # VALORES DE EXEMPLO (PEGUE DO SEU CONFIG.PY REAL)
45
  NUM_ASSETS_POLICY = 4
 
39
  from typing import List, Dict, Any, Optional, Union, Type
40
  # Importar sua rede e configs
41
  #import agents.DeepPortfolioAgent as DeepPortfolioAgent
42
+ from portfolio_features_extractor_torch import PortfolioFeaturesExtractorTorch
43
  # from ..config import (NUM_ASSETS, WINDOW_SIZE, NUM_FEATURES_PER_ASSET, ...) # Importe do seu config real
44
  # VALORES DE EXEMPLO (PEGUE DO SEU CONFIG.PY REAL)
45
  NUM_ASSETS_POLICY = 4
agents/portfolio_features_extractor_torch.py CHANGED
@@ -1,7 +1,7 @@
1
  import torch
2
  import torch.nn as nn
3
  from stable_baselines3.common.torch_layers import BaseFeaturesExtractor
4
- from agents.deep_portfolio_torch import DeepPortfolioAgentNetworkTorch
5
 
6
  class PortfolioFeaturesExtractorTorch(BaseFeaturesExtractor):
7
  def __init__(self, observation_space, features_dim=32,
 
1
  import torch
2
  import torch.nn as nn
3
  from stable_baselines3.common.torch_layers import BaseFeaturesExtractor
4
+ from deep_portfolio_torch import DeepPortfolioAgentNetworkTorch
5
 
6
  class PortfolioFeaturesExtractorTorch(BaseFeaturesExtractor):
7
  def __init__(self, observation_space, features_dim=32,
agents/ppo_deep_portfolio_tensorboard/PPO_20/events.out.tfevents.1751553089.codespaces-25f9d9.11121.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23f115b6b9de711287421bcee251bf97a23456d6f531fda91810464172cf3f84
3
+ size 34667