Skip to content

Commit

Permalink
commits
Browse files Browse the repository at this point in the history
  • Loading branch information
jakep-allenai committed Feb 28, 2025
1 parent 2d4c1a1 commit 3670219
Show file tree
Hide file tree
Showing 66 changed files with 2,620 additions and 61 deletions.
50 changes: 50 additions & 0 deletions olmocr/bench/sample_data/chatgpt/discoverworld_crazy_table4_1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
Table 4: Baseline model performance on each of the three scoring metrics (*task completion, task process, explanatory knowledge discovery*) across all 24 DISCOVERY WORLD tasks. Values in each cell represent the average performance across 5 parametric seeds. Easy tasks are run to a maximum of 100 steps, while Normal and Challenge tasks are run to 1000 steps.

| # | Topic | Task | ReACT | Plan+Execute | Hypothesizer |
|----|------------------------------|-----------------------------------|-------|--------------|--------------|
| 1 | Proteomics | Clustering | | | |
| 2 | Easy | Simplified Clustering | 0.87 | 0.20 | 0.08 |
| 3 | Normal | Clustering (2D) | 0.88 | 0.40 | 0.68 |
| 4 | Challenge | Clustering (3D) | 0.88 | 0.40 | 0.60 |
| 5 | Chemistry | Exploring Combinations and Hill Climbing | | | |
| 6 | Easy | Single substances | 0.87 | 1.00 | 0.70 |
| 7 | Normal | Mix of 3 substances | 0.82 | 0.00 | 0.87 |
| 8 | Challenge | Mix of 4 substances | 0.40 | 0.00 | 0.87 |
| 9 | Archaeology | Correlations | | | |
| 10 | Easy | Simple instrument | 0.87 | 0.60 | 0.33 |
| 11 | Normal | Instrument Use | 0.72 | 0.40 | 0.77 |
| 12 | Challenge | Correlation | 0.40 | 0.00 | 0.05 |
| 13 | Reactor Lab | Regression | | | |
| 14 | Easy | Linear regression | 0.42 | 0.00 | 0.10 |
| 15 | Normal | Quadratic regression | 0.43 | 0.00 | 0.00 |
| 16 | Challenge | Uncovering systems of rules | | | |
| 17 | Easy | Simplified rules | 0.91 | 0.60 | 0.78 |
| 18 | Normal | Presence rules | 0.87 | 0.00 | 0.40 |
| 19 | Challenge | Legal Rules | 0.00 | 0.00 | 0.00 |
| 20 | Translation | Rosetta-stone style linguistic discovery of alien language | | | |
| 21 | Easy | Noun and verb | 0.57 | 0.00 | 0.00 |
| 22 | Normal | Noun, adj., and verb | 0.49 | 0.00 | 0.55 |
| 23 | Challenge | | | | |
| 24 | Average (Easy) | | 0.59 | 0.25 | 0.56 |
| 25 | Average (Normal) | | 0.05 | 0.14 | 0.18 |
| 26 | Average (Challenge) | | 0.63 | 0.10 | 0.15 |

Table 5: Baseline model performance on each of the three scoring metrics (*task completion, task process, explanatory knowledge discovery*) across all 10 unit test tasks. Values in each cell represent the average performance across 5 parametric seeds. Unit tests tasks are run to a maximum of 100 steps.

| # | Unit Test Topic | ReACT | Plan+Execute | Hypothesizer |
|----|------------------------------|-------|--------------|--------------|
| 25 | Multi-turn dialog with an agent | 1.00 | 1.00 | 1.00 |
| 26 | Measure an object with an instrument | 0.87 | 0.60 | 0.73 |
| 27 | Pick-and-place object | 0.90 | 0.80 | 0.80 |
| 28 | Pick-and-place object | 1.00 | 1.00 | 1.00 |
| 29 | Read DiscoveryFeed posts | 1.00 | 1.00 | 1.00 |
| 30 | Move through doors | 0.55 | 0.20 | 0.25 |
| 31 | Using keys with doors | 0.60 | 0.20 | 0.00 |
| 32 | Navigate to a specific room in a house | 0.20 | 0.00 | 0.00 |
| 33 | Search an environment for an object | 0.80 | 0.00 | 0.00 |
| 34 | Interact with a moving agent | 0.80 | 0.20 | 0.53 |
| 35 | Average (Unit Tests) | 0.76 | 0.60 | 0.66 |

4.2 Baseline Agent Models

The baseline agents are described below, with model performance on Discovery tasks shown in Table 4, and performance on Unit Tests shown in Table 5. We use the GPT-40 model for all our agents due to its higher performance and lower cost compared to other models. For space we provide...
15 changes: 15 additions & 0 deletions olmocr/bench/sample_data/chatgpt/lincoln_letter_1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Executive Mansion,

Washington City,

January 10th, 1864.

Major General Hitchcock, Commissioner for Exchanges,
is authorized and directed to offer Brigadier General Trimble,
now a prisoner of war in Fort McHenry, in exchange for
Major White, who is held as a prisoner at Richmond.
He is also directed to send forward the offer of exchange
by Henry M. Warfield, Esq. of Baltimore, under a flag
of truce, and give him a pass to City Point.

Abraham Lincoln.
24 changes: 24 additions & 0 deletions olmocr/bench/sample_data/chatgpt/mattsnotes_1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
V-February Flow

Data Components:

Code:
The-Stack-V2

CodeText:
SE, whatever we've scraped

WebText:
HQDCLM

DATA MIXES

~85% Source Code
~10% CodeText
~ 5% Webtext

~ 85% The-stack-V2
~ 15% CodeText
~ 0% Webtext

~100% Source Code
28 changes: 28 additions & 0 deletions olmocr/bench/sample_data/chatgpt/multi_column_miss_1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
stakeholders has occurred in other nations, with groups and individuals refusing to risk being appropriated into the industry's public relations ambitions. It now looks like that with vigilance, tobacco control advocates can easily foment similar distaste in many areas of the business community. Our actions sought to denormalise the tobacco industry by disrupting its efforts to take its place alongside other industries—often with considerable social credit—in the hope that it might gain by association.

Tobacco industry posturing about its corporate responsibility can never hide the ugly consequences of its ongoing efforts to "work with all relevant stakeholders for the preservation of opportunities for informed adults to consume tobacco products" (translation: "we will build alliances with others who want to profit from tobacco use, to do all we can to counteract effective tobacco control"). BAT has 15.4% and Philip Morris 16.4% of the global cigarette market.6 With 4.9 million smokers currently dying from tobacco use each year, and the industry unblinkingly concurring that its products are addictive, this leaves BAT to argue why it should not be held to be largely accountable for the annual deaths of some 754 600 smokers, and Philip Morris some 803 600 smokers.

REFERENCES
1 British American Tobacco. Social Report. http://www.bat.com/204pp.
2 Wroe D. Tobacco ad campaign angers MPs. The Age (Melbourne) 2004; May 17 http://www.theage.com.au/articles/2004/05/16/1084646069771.html?oneclick=true.
3 Hirschhorn N. Corporate social responsibility and the tobacco industry: hope or hype? Tobacco Control 2004;13:447–453.
4 Ethical Corporation Asia 2004. Conference website. http://www.ethicalcorp.com/asia2004/.
5 Chapman S, Shatenstein S. Extreme corporate makeover: tobacco companies, corporate responsibility and the corruption of “ethics”. Globalink petition. http://petition.globalink.org/view.php?code= enema.
6 Mackay J, Eriksen M. The tobacco atlas. Geneva: World Health Organization, 2002.

INDUSTRY WATCH
Corporate social responsibility and the tobacco industry: hope or hype?
N Hirschhorn

Tobacco Control 2004;13:447–453. doi: 10.1136/tc.2003.006676

Corporate social responsibility (CSR) emerged from a realisation among transnational corporations of the need to account for and redress their adverse impact on society: specifically, on human rights, labour practices, and the environment. Two transnational tobacco companies have recently adopted CSR: Philip Morris, and British American Tobacco. This report explains the origins and theory behind CSR; examines internal company documents from Philip Morris showing the company’s deliberations on the matter, and the company’s perspective on its own behaviour; and reflects on whether marketing tobacco is antithetical to social responsibility.

Over the past three decades increasing pressure from non-governmental organisations (NGOs), governments and the United Nations, has required transnational corporations (TNCs) to examine and redress the adverse impact their businesses have on society and the environment. Many have responded by taking up what is known as “corporate social responsibility” (CSR); only recently have two major cigarette companies followed suit: Philip Morris (PM) and British American Tobacco (BAT). This report first provides the context and development of CSR; then, from internal company documents, examines how PM came to a version. This paper examines whether a tobacco company espousing CSR should be judged simply as a corporate entity along standards of business ethics or as an irretrievably negative force in the realm of public health, thereby rendering CSR an oxymoron.

CORPORATE SOCIAL RESPONSIBILITY: THE CONTEXT
The term “corporate social responsibility” is in vogue at the moment but as a concept it is vague and means different things to different people.1

Some writers on CSR trace its American roots to the 19th century when large industries engaged in philanthropy and established great public institutions, a form of “noblesse oblige”. But the notion that corporations should be required to return more to society because of their impact on society was driven by pressures from the civil rights, peace, and environmental movements of the last half century.2 The unprecedented expansion of power and influence of TNCs over the past three decades has accelerated global trade and development, but also environmental damage and abuses of...

Abbreviations: ASH, Action on Smoking and Health; BAT, British American Tobacco; CERES, Coalition for Environmentally Responsible Economies; CSR, corporate social responsibility; DJSI, Dow Jones Sustainability Index; GCAC, Global Corporate Affairs Council; GRI, Global Reporting Initiative; MSA, Master Settlement Agreement; NGOs, non-governmental organisations; PM, Philip Morris; TNCs, transnational corporations; UNEP, United Nations Environment Program
24 changes: 24 additions & 0 deletions olmocr/bench/sample_data/chatgpt/olmo2-pg4_1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
| Source | Type | Tokens | Words | Bytes | Docs |
|------------------------|------------------|--------|-------|--------|-------|
| DCLM-Baseline | Web pages | 3.71T | 3.32T | 21.32T | 2.95B |
| StarCoder | Code | 83.0B | 70.0B | 459B | 78.7M |
| peS2o | Academic papers | 58.6B | 51.1B | 413B | 38.8M |
| arXiv | STEM papers | 20.8B | 19.3B | 77.2B | 3.95M |
| OpenWebMath | Math web pages | 12.2B | 11.1B | 47.2B | 2.89M |
| Algebraic Stack | Math proofs code | 11.8B | 10.8B | 44.0B | 2.83M |
| Wikipedia & Wikibooks | Encyclopedic | 3.7B | 3.16B | 16.2B | 6.17M |
| **Total** | | **3.90T** | **3.48T** | **22.38T** | **3.08B** |

Table 1: Composition of the pretraining data for OLMo 2. The OLMo 2 1124 Mix is composed of StarCoder (Li et al., 2023b; Kocetkov et al., 2022), peS2o (Soldaini and Lo, 2023), web text from DCLM (Li et al., 2024) and Wiki come from Dolma 1.7 (Soldaini et al., 2024). arXiv comes from Red-Pajama (Together AI, 2023), while OpenWebMath (Paster et al., 2023) and Algebraic Stack come from ProofPile II (Azerbayev et al., 2023).

2.1.1 Pretraining data: OLMo 2 Mix 1124

The mix used for this stage is shown in Table 1. It consists of approximately 3.9 trillion tokens, with over 95% derived from web data. We refer to this set as OLMo 2 Mix 1124. This is the same pretraining data used in OLMoE (Muennighoff et al., 2024).

We combine data from DCLM (Li et al., 2024) and Dolma 1.7 (Soldaini et al., 2024). From DCLM, we use the "baseline 1.0" mix. From Dolma, we use the arXiv (Together AI, 2023), OpenWebMath (Paster et al., 2023), Algebraic Stack, peS2o (Soldaini and Lo, 2023), and Wikipedia subsets. arXiv, OpenWebMath, and Algebraic Stack were originally part of ProofPile II (Azerbayev et al., 2023).

Finally, we include code from StarCoder (Li et al., 2023b), which is derived from permissively-licensed repositories from GitHub (Kocetkov et al., 2022). In an attempt to include higher quality code, we remove any document from a repository with fewer than 2 stars on GitHub. Further, through manual inspection of this source, we found it to contain documents encoded in binary format or containing mostly numerical content; to remove them, we discarded documents whose most frequent word constitutes over 30% of the document, or whose top-2 most frequent words constitute over 50% of the document. To mitigate possible training loss spikes, we remove documents with repeated sequences of 32 or more n-grams. We report details and show effectiveness of this intervention in Section §3.1.

2.1.2 Mid-training data: Dolmino Mix 1124

After the initial pretraining stage on mostly web data, we further train with a mixture of web data that has been more restrictively filtered for quality and a collection of domain-specific high quality data, much of which is synthetic. The purpose of this mixture is to imbue the model with math-centric skills and provide focused exposure to STEM references and high quality text. We generate several variants of this mixture, with varying sizes, but generally refer to this mixture as Dolmino Mix 1124. The base sources from which Dolmino Mix 1124 is subsampled are described in Table 2. We refer the reader to Section §4 for a deep dive detailing our processes for experimenting and curating data for this mix.
57 changes: 57 additions & 0 deletions olmocr/bench/sample_data/chatgpt/openstax_caculus_pg_273_1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
3.4 EXERCISES

For the following exercises, the given functions represent the position of a particle traveling along a horizontal line.

a. Find the velocity and acceleration functions.
b. Determine the time intervals when the object is slowing down or speeding up.

150. \( s(t) = 2t^3 - 3t^2 - 12t + 8 \)

151. \( s(t) = 2t^3 - 15t^2 + 36t - 10 \)

152. \( s(t) = \frac{t}{1 + t^2} \)

153. A rocket is fired vertically upward from the ground. The distance \( s \) in feet that the rocket travels from the ground after \( t \) seconds is given by \( s(t) = -16t^2 + 560t \).

a. Find the velocity of the rocket 3 seconds after being fired.
b. Find the acceleration of the rocket 3 seconds after being fired.

154. A ball is thrown downward with a speed of 8 ft/s from the top of a 64-foot-tall building. After \( t \) seconds, its height above the ground is given by \( s(t) = -16t^2 - 8t + 64 \).

a. Determine how long it takes for the ball to hit the ground.
b. Determine the velocity of the ball when it hits the ground.

155. The position function \( s(t) = t^2 - 3t - 4 \) represents the position of the back of a car backing out of a driveway and then driving in a straight line, where \( s \) is in feet and \( t \) is in seconds. In this case, \( s(t) = 0 \) represents the time at which the back of the car is at the garage door, so \( s(0) = -4 \) is the starting position of the car, 4 feet inside the garage.

a. Determine the velocity of the car when \( s(t) = 0 \).
b. Determine the velocity of the car when \( s(t) = 14 \).

156. The position of a hummingbird flying along a straight line in \( t \) seconds is given by \( s(t) = 3t^3 - 7t \) meters.

a. Determine the velocity of the bird at \( t = 1 \) sec.
b. Determine the acceleration of the bird at \( t = 1 \) sec.
c. Determine the acceleration of the bird when the velocity equals 0.

157. A potato is launched vertically upward with an initial velocity of 100 ft/s from a potato gun at the top of an 85-foot-tall building. The distance in feet that the potato travels from the ground after \( t \) seconds is given by \( s(t) = -16t^2 + 100t + 85 \).

a. Find the velocity of the potato after 0.5 s and 5.75 s.
b. Find the speed of the potato at 0.5 s and 5.75 s.
c. Determine when the potato reaches its maximum height.
d. Find the acceleration of the potato at 0.5 s and 1.5 s.
e. Determine how long the potato is in the air.
f. Determine the velocity of the potato upon hitting the ground.

158. The position function \( s(t) = t^3 - 8t \) gives the position in miles of a freight train where east is the positive direction and \( t \) is measured in hours.

a. Determine the direction the train is traveling when \( s(t) = 0 \).
b. Determine the direction the train is traveling when \( a(t) = 0 \).
c. Determine the time intervals when the train is slowing down or speeding up.

159. The following graph shows the position \( y = s(t) \) of an object moving along a straight line.

![Graph of position function](image)

a. Use the graph of the position function to determine the time intervals when the velocity is positive, negative, or zero.
b. Sketch the graph of the velocity function.
c. Use the graph of the velocity function to determine the time intervals when the acceleration is positive, negative, or zero.
d. Determine the time intervals when the object is speeding up or slowing down.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
4.2 Baseline Agent Models

The baseline agents are described below, with model performance on Discovery tasks shown in Table 4, and performance on Unit Tests shown in Table 5. We use the GPT-4o model for all our agents due to its higher performance and lower cost compared to other models.
11 changes: 11 additions & 0 deletions olmocr/bench/sample_data/chatgpt45/lincoln_letter_1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Executive Mansion,

Washington City,

January 10th, 1864

Major General Hitchcock, Commissioner of Exchanges, is authorized and directed to offer Brigadier General Trimble, now a prisoner of war in Fort McHenry, in exchange for Major White, who is held as a prisoner at Richmond.

He is also directed to send forward the offer of exchange by Henry M. Warfield, Esq. of Baltimore, under a flag of truce, and give him a pass to City Point.

Abraham Lincoln
23 changes: 23 additions & 0 deletions olmocr/bench/sample_data/chatgpt45/mattsnotes_1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
V-February Flow

Data Components:
Code:
The-stack-V2
CodeText:
SE, whatever we've scraped
WebText:
HQOCLM

DATA MIXES
~85% Source Code
~10% CodeText
~5% Webtext
Deepseek Coder

~85% The-stack-V2
~15% CodeText
~0% webtext
Starcoder 2

~100% Source Code
Arctic
Loading

0 comments on commit 3670219

Please sign in to comment.