Skip to content

Conversation

@SeaUrc
Copy link

@SeaUrc SeaUrc commented Oct 20, 2025

No description provided.

import os
from exa_py import Exa

def getKalshiQuestion(market_ticker)->Tuple[str,str]:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why make 2 requests to this endpoint? Make 1 and just store the results to be used

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed



class BetPredictor:
def __init__(self, model_name: str = "Qwen/Qwen3-4B-Instruct-2507"):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What made you go with this model out of curioisity?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 3B-6B model size was enough to produce reasonable responses and its really only Qwen and Llama variants in that range. The instruct models are fine tuned for instruction following, and the Qwen3 instruct 2507 model preforms better on instruction following then Llama 3.2 instruct model.

numpy==2.3.4
openai==2.5.0
packaging==25.0
playwright==1.55.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you really need all these? I dont see playright, jinja etc in your code

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed. Jinja is a torch dependency but playwright was leftover from web scraping attempt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants