Text Generation
Transformers
Safetensors
English
qwen3
forecasting
reasoning
question-answering
reinforcement-learning
calibration
conversational
text-generation-inference
Instructions to use nikhilchandak/OpenForecaster-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nikhilchandak/OpenForecaster-8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="nikhilchandak/OpenForecaster-8B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("nikhilchandak/OpenForecaster-8B") model = AutoModelForCausalLM.from_pretrained("nikhilchandak/OpenForecaster-8B") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use nikhilchandak/OpenForecaster-8B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "nikhilchandak/OpenForecaster-8B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nikhilchandak/OpenForecaster-8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/nikhilchandak/OpenForecaster-8B
- SGLang
How to use nikhilchandak/OpenForecaster-8B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "nikhilchandak/OpenForecaster-8B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nikhilchandak/OpenForecaster-8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "nikhilchandak/OpenForecaster-8B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nikhilchandak/OpenForecaster-8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use nikhilchandak/OpenForecaster-8B with Docker Model Runner:
docker model run hf.co/nikhilchandak/OpenForecaster-8B
Add library_name, pipeline_tag and links to paper/code
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,22 +1,28 @@
|
|
| 1 |
---
|
| 2 |
-
license: mit
|
| 3 |
base_model: Qwen/Qwen3-8B
|
| 4 |
-
tags:
|
| 5 |
-
- forecasting
|
| 6 |
-
- reasoning
|
| 7 |
-
- question-answering
|
| 8 |
-
- reinforcement-learning
|
| 9 |
-
- calibration
|
| 10 |
datasets:
|
| 11 |
-
|
| 12 |
language:
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
# OpenForecaster-8B
|
| 17 |
|
| 18 |
**OpenForecaster-8B** is a specialized language model for forecasting and predicting future events. This model is post-trained from **Qwen3-8B** using reinforcement learning on the [OpenForesight dataset](https://huggingface.co/datasets/nikhilchandak/OpenForesight).
|
| 19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
## Model Description
|
| 21 |
|
| 22 |
OpenForecaster-8B is designed to make calibrated predictions on open-ended questions about future events. The model has been trained to:
|
|
@@ -57,12 +63,6 @@ OpenForecaster-8B achieves competitive performance with much larger models like
|
|
| 57 |
- **Better Calibration**: More reliable confidence estimates
|
| 58 |
- **Enhanced Consistency**: Reduced logical violations in predictions
|
| 59 |
|
| 60 |
-
## More Information
|
| 61 |
-
|
| 62 |
-
For more details about the model, training process, and evaluation results, please visit our website:
|
| 63 |
-
|
| 64 |
-
**๐ [https://openforecaster.github.io](https://openforecaster.github.io)**
|
| 65 |
-
|
| 66 |
## Citation
|
| 67 |
|
| 68 |
```bibtex
|
|
@@ -79,4 +79,4 @@ This model is released under the MIT License.
|
|
| 79 |
|
| 80 |
## Contact
|
| 81 |
|
| 82 |
-
For questions or issues, please visit our [website](https://openforecaster.github.io) or open an issue on the model repository.
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
base_model: Qwen/Qwen3-8B
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
datasets:
|
| 4 |
+
- nikhilchandak/OpenForesight
|
| 5 |
language:
|
| 6 |
+
- en
|
| 7 |
+
license: mit
|
| 8 |
+
pipeline_tag: text-generation
|
| 9 |
+
library_name: transformers
|
| 10 |
+
tags:
|
| 11 |
+
- forecasting
|
| 12 |
+
- reasoning
|
| 13 |
+
- question-answering
|
| 14 |
+
- reinforcement-learning
|
| 15 |
+
- calibration
|
| 16 |
---
|
| 17 |
|
| 18 |
# OpenForecaster-8B
|
| 19 |
|
| 20 |
**OpenForecaster-8B** is a specialized language model for forecasting and predicting future events. This model is post-trained from **Qwen3-8B** using reinforcement learning on the [OpenForesight dataset](https://huggingface.co/datasets/nikhilchandak/OpenForesight).
|
| 21 |
|
| 22 |
+
It was introduced in the paper [Scaling Open-Ended Reasoning to Predict the Future](https://huggingface.co/papers/2512.25070).
|
| 23 |
+
|
| 24 |
+
**๐ [Website](https://openforecaster.github.io) | ๐ [Paper](https://huggingface.co/papers/2512.25070) | ๐ป [Code](https://github.com/OpenForecaster/scaling-forecasting-training)**
|
| 25 |
+
|
| 26 |
## Model Description
|
| 27 |
|
| 28 |
OpenForecaster-8B is designed to make calibrated predictions on open-ended questions about future events. The model has been trained to:
|
|
|
|
| 63 |
- **Better Calibration**: More reliable confidence estimates
|
| 64 |
- **Enhanced Consistency**: Reduced logical violations in predictions
|
| 65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
## Citation
|
| 67 |
|
| 68 |
```bibtex
|
|
|
|
| 79 |
|
| 80 |
## Contact
|
| 81 |
|
| 82 |
+
For questions or issues, please visit our [website](https://openforecaster.github.io) or open an issue on the model repository.
|