cwpkd commited on
Commit
c672125
·
verified ·
1 Parent(s): ec72bcf

Update config.py

Browse files
Files changed (1) hide show
  1. config.py +2 -1
config.py CHANGED
@@ -5,7 +5,8 @@ Configuration file for Yahoo Finance Sentiment Analysis
5
 
6
  # Model configurations
7
  FINBERT_MODEL = "ProsusAI/finbert"
8
- GEMMA_MODEL = "google/gemma-2-2b-it" # ใช้ gemma-2-2b แทน 3-4b เนื่องจาก 3-4b ยังไม่มีใน HF
 
9
 
10
  # Yahoo Finance configurations
11
  YAHOO_FINANCE_BASE_URL = "https://finance.yahoo.com"
 
5
 
6
  # Model configurations
7
  FINBERT_MODEL = "ProsusAI/finbert"
8
+ # เปลี่ยนเป็นโมเดลที่ไม่ต้องขอสิทธิ์
9
+ GEMMA_MODEL = "HuggingFaceH4/zephyr-7b-beta" # หรือใช้ "microsoft/phi-2" สำหรับโมเดลเล็กกว่า
10
 
11
  # Yahoo Finance configurations
12
  YAHOO_FINANCE_BASE_URL = "https://finance.yahoo.com"