Instructions to use Qriuc/AIAA3102_SuperAgent_task_2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Qriuc/AIAA3102_SuperAgent_task_2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Qriuc/AIAA3102_SuperAgent_task_2")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Qriuc/AIAA3102_SuperAgent_task_2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
AIAA 3102 SuperAgent: final solution for Task 2 (headline CTR pairs)
Intended use: course evaluation and reproduction only. These weights are published solely so that the AIAA 3102 Final Project can be evaluated and its reported results reproduced. They are not intended for any other use.
What this is
The final model that our LLM-driven SuperAgent built and selected for Task 2 of the course project: given a pair of news headlines from an A/B test, predict which one had the higher click-through rate. It is an equal-weight ensemble of three experiments, each a pairwise cross-encoder fine-tuned from a public RoBERTa backbone and refit on train+validation:
| Member | Backbone(s) |
|---|---|
exp10_roberta_large_top8_cross_encoder |
roberta-large |
exp13_roberta_large_two_member_depth_ensemble |
roberta-large |
exp08_four_backbone_cross_encoder_ensemble |
roberta-base, distilroberta-base |
Test accuracy on the released test set: 0.7822 (validation 0.8181).
Files
ensemble.json ensemble members and weights
prepare_data.py turns the raw task files into the standardized DataFrames
predict.py standalone predictor
members/<id>/solution.py code of each member (fit / predict_proba)
members/<id>/artifacts/ fine-tuned weights, tokenizer and config of each member
Usage
Download this repository into results/task2/final_solution/ of the submission package, then run from the package
root:
hf download Qriuc/AIAA3102_SuperAgent_task_2 --repo-type model --local-dir results/task2/final_solution
python results/task2/final_solution/prepare_data.py <raw data folder> <output folder>
python results/task2/final_solution/predict.py <output folder>/test.pkl predictions.csv
The Python environment is described in the package's README.md.
License
MIT. The base models are FacebookAI/roberta-large and FacebookAI/roberta-base (MIT) and
distilbert/distilroberta-base (Apache-2.0).
Model tree for Qriuc/AIAA3102_SuperAgent_task_2
Base model
FacebookAI/roberta-base