Klang(金浪)AI量化论坛

    • 注册
    • 登录
    • 版块
    • 最新
    • 标签
    • 热门
    • 用户
    • 群组

    如何使用 FinNLP 为 FinGPT准备数据

    AI研究
    1
    1
    278
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • A
      asmcos 管理员 最后由 编辑

      1. clone 代码
        git clone https://github.com/AI4Finance-Foundation/FinNLP
        cd FinNLP

      2. 修改例子代码
        https://ai4finance-foundation.github.io/FinNLP/jupyter/Data_Sources_Social_Media/
        例子代码在这里

      将其中的 config 修改为

      confg = {}
      
      1. 执行
      FinNLP$ python3 example1.py
      Downloading Titles...: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████| 17/17 [01:33<00:00,  5.51s/it]
      Gathering news contents:  54%|█████████████████████████████████████████████████▌                                          | 6340/11760 [32:31<38:33,  2.34it/s]
      
      
      1 条回复 最后回复 回复 引用 0
      • First post
        Last post