Text Generation
PEFT
Safetensors
English
forecasting
prediction
reinforcement-learning
grpo
lora
mixture-of-experts
politics
trump
future-as-label
Eval Results (legacy)
Instructions to use LightningRodLabs/Trump-Forecaster with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use LightningRodLabs/Trump-Forecaster with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("openai/gpt-oss-120b") model = PeftModel.from_pretrained(base_model, "LightningRodLabs/Trump-Forecaster") - Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files93 unmodified lines9495969798991007 unmodified lines10810911011111211311493 unmodified linespython merge.py --output ./trump-forecaster-merged```This downloads the base model (MXFP4, ~30 GB), dequantizes to bf16, applies the LoRA adapter, and saves the merged model (~300 GB bf16). Requires ~300 GB RAM, no GPU needed.### Inference with the merged model7 unmodified linestokenizer_path="openai/gpt-oss-120b",trust_remote_code=True,dtype="bfloat16",tp_size=2, # needs 2x 80GB GPUs for bf16)prompt = """You are a forecasting expert. Given the question and context below, predict the probability that the answer is "Yes".93 unmodified lines9495969798991007 unmodified lines10810911011111211311493 unmodified linespython merge.py --output ./trump-forecaster-merged```This downloads the base model, dequantizes to bf16, applies the LoRA adapter, and saves the merged model.### Inference with the merged model7 unmodified linestokenizer_path="openai/gpt-oss-120b",trust_remote_code=True,dtype="bfloat16",tp_size=2,)prompt = """You are a forecasting expert. Given the question and context below, predict the probability that the answer is "Yes".
README.md+2-2