Add model card README
Browse files
README.md
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- language-modeling
|
| 7 |
+
- gpt2
|
| 8 |
+
- distilgpt2
|
| 9 |
+
- long-form-generation
|
| 10 |
+
- coherence
|
| 11 |
+
- hard-negatives
|
| 12 |
+
- wikitext
|
| 13 |
+
- research
|
| 14 |
+
pipeline_tag: text-generation
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# ForesightLM Phase 1
|
| 18 |
+
|
| 19 |
+
ForesightLM Phase 1 is an experimental research checkpoint exploring whether self-loop hard negatives can provide a useful calibration signal for semantic-level coherence-aware generation.
|
| 20 |
+
|
| 21 |
+
This repository contains Phase 1 model checkpoints, robustness outputs, and small ablation artifacts for the ForesightLM workshop paper.
|
| 22 |
+
|
| 23 |
+
## Main idea
|
| 24 |
+
|
| 25 |
+
The project investigates a lightweight extension around a DistilGPT-2 style language model trained on WikiText-103. The goal is not to claim solved long-form coherence, but to test whether future-aware objectives and self-loop hard negatives can improve semantic-level generation indicators.
|
| 26 |
+
|
| 27 |
+
## Uploaded checkpoints
|
| 28 |
+
|
| 29 |
+
This repository includes:
|
| 30 |
+
|
| 31 |
+
| Path | Description |
|
| 32 |
+
|---|---|
|
| 33 |
+
| `outputs/phase1/v2_wikitext103_seed42_distilgpt2` | Main ForesightLM-v2 Phase 1 checkpoint, `lambda_hardneg=0.10` |
|
| 34 |
+
| `outputs/phase1/v2_wikitext103_lh005_seed42_distilgpt2` | Lambda ablation checkpoint, `lambda_hardneg=0.05` |
|
| 35 |
+
| `outputs/phase1/v2_wikitext103_lh020_seed42_distilgpt2` | Lambda ablation checkpoint, `lambda_hardneg=0.20` |
|
| 36 |
+
| `outputs/phase1/bootstrap` | Paired bootstrap confidence interval results |
|
| 37 |
+
| `outputs/phase1/lambda_hardneg_ablation` | Lambda hard-negative ablation summary |
|
| 38 |
+
| `outputs/phase1/decoding_eval` | Decoding summary and qualitative examples |
|
| 39 |
+
|
| 40 |
+
## Phase 1 main metrics
|
| 41 |
+
|
| 42 |
+
Main ForesightLM-v2 result:
|
| 43 |
+
|
| 44 |
+
| metric | value |
|
| 45 |
+
|---|---:|
|
| 46 |
+
| LM loss | 3.9384 |
|
| 47 |
+
| Future loss | 2.7180 |
|
| 48 |
+
| Hard-negative margin gap | 0.0614 |
|
| 49 |
+
| Hard-negative satisfied rate | 0.4107 |
|
| 50 |
+
|
| 51 |
+
## Lambda hard-negative ablation
|
| 52 |
+
|
| 53 |
+
| lambda_hardneg | eval_lm ↓ | eval_future ↓ | hardneg_gap ↑ | satisfied ↑ |
|
| 54 |
+
|---:|---:|---:|---:|---:|
|
| 55 |
+
| 0.05 | 3.9385 | 2.7214 | 0.0512 | 0.3571 |
|
| 56 |
+
| 0.10 | 3.9384 | 2.7180 | 0.0614 | 0.4107 |
|
| 57 |
+
| 0.20 | 3.9383 | 2.7148 | 0.0701 | 0.4643 |
|
| 58 |
+
|
| 59 |
+
The small ablation suggests that increasing the hard-negative weight from `0.10` to `0.20` improves held-out hard-negative separation while preserving language-modeling loss.
|
| 60 |
+
|
| 61 |
+
## Bootstrap robustness
|
| 62 |
+
|
| 63 |
+
Paired bootstrap over prompt IDs suggests that calibrated v2 decoding robustly improves prompt relevance, topic drift, progression, semantic-loop rate, and prompt-drift rate relative to Core and baseline.
|
| 64 |
+
|
| 65 |
+
Raw v2 improvements are directional but generally not conclusive under the paired bootstrap intervals.
|
| 66 |
+
|
| 67 |
+
## Important limitations
|
| 68 |
+
|
| 69 |
+
These are Phase 1 research artifacts. The current evidence is limited to:
|
| 70 |
+
|
| 71 |
+
- one main domain: WikiText-103
|
| 72 |
+
- one primary seed
|
| 73 |
+
- small ablation scale
|
| 74 |
+
- automatic coherence indicators rather than full human evaluation
|
| 75 |
+
|
| 76 |
+
The results should be interpreted cautiously. ForesightLM does not solve long-form coherence; Phase 1 only suggests that self-loop hard negatives may provide a useful calibration signal.
|
| 77 |
+
|
| 78 |
+
## GitHub
|
| 79 |
+
|
| 80 |
+
Code and compact result artifacts are available on GitHub:
|
| 81 |
+
|
| 82 |
+
https://github.com/Ahmet2001/foresightLM
|
| 83 |
+
|
| 84 |
+
Current pushed branch:
|
| 85 |
+
|
| 86 |
+
`v2-self-loop-fixes`
|
| 87 |
+
|
| 88 |
+
## Citation
|
| 89 |
+
|
| 90 |
+
If you use these artifacts, please cite the ForesightLM Phase 1 workshop paper once available.
|