Polymarket prediction pipeline
This repo contains prediction models for predicting market behavior from text data in Polymarket markets.
import joblib
from pathlib import Path
from huggingface_hub import snapshot_download
in_dir = snapshot_download(repo_id="kardosdrur/polymarket_prediction")
models = joblib.load(Path(in_dir).joinpath("models.joblib"))
example_texts = [
"Iran ceasefire continues through...?",
"Republican Presidential Nominee 2028",
]
for out_feature, model in models.items():
print(f"---------{out_feature}---------")
print(model.predict(example_texts))
---------hurst_exponent---------
[0.52543736 0.51036133]
---------mean_abs_error---------
[0.27362863 0.30077653]
---------volatility---------
[0.24046536 0.23110107]