<commit_before><script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-5532985-4', 'auto');
  ga('send', 'pageview');

</script>

<h2>Qualifying RTB4FREE With SMAATO</h2>
<p>RTB4FREE is easy to qualify with the SMAATO RTB exchange. Following these instructions you qualify your own implementation of RTB4FREE with
the SMAATO exchange in less than 30 minutes.</p>

<hr/>
<h3>Set Up Your SMAATO Account</h3>
<p>First you will need to obtain a <a href="http://dspportal.smaato.com/registration/register" target="_blank">SMAATO account as a DSP</a>. Of course, you need to get REDIS, WEBDIS, and RTB4FREE
set up to begin your bidding, <a href="details.html#QUICK" target="_blank">you can find instructions on that here.</a></p>
<p>You also need to tell SMAATO where your bid engine is, <h href="xxxx">tell them on this screen here.</a>
<p>You will be running two kinds of tests. One is the compliance test, which makes sure the RTB4FREE is correctly bidding and no-bidding on the 3 kinds
of ads that SMAATO supports: text, image, and rich media. Then, comes the accounting test. Once you have your account set up, <a href='http://dspportal.smaato.com/secure/index' target="_blank">go over to the
test page and get ready to test.</a> The test page looks something like this: <img src="smaato1.png"></img>. Make sure the OpenRTB request URL matches
your host id. For example, on host 192.168.3.11 it should look like http://192.168.3.11/rtb/bids/smaato</p>

<hr/>
<h3>Modify the Sample Campaign/payday.json</h3>
<p>First, you need to modify the Campaigns/payday.json file to change the campaign that the bidder will use. By default, the bidder uses ben:payday. You need to change that to "smaato-test". When complete
the Campaigns/payday.json should look like this:</p>
<code>
		"campaigns": [{

				"name": "ben",
				"id": "smaato-test"

			}

		]
</code>

<hr/>
<h3>Modify RTBidder.java To Handle Test Bids</h3>
<p>The test SMAATO campaign is already loaded by default from the Campaigns/payday.json file by default. However, you must modify com.xrtb.bidder.RTBServer.java
to enable the SMAATO test. Here is the code snippet:
<pre>
/************* Uncomment to run smaato compliance testing ****************************************/
/*Enumeration<String> params = request.getParameterNames();
String tester = null;
if (params.hasMoreElements()) {
	smaatoCompliance(target, baseRequest, request, response,body);
	return;
} */
/************************************************************************************************/
</pre>
When you are done, the code should look like:
<pre>
Enumeration<String> params = request.getParameterNames();
String tester = null;
if (params.hasMoreElements()) {
	smaatoCompliance(target, baseRequest, request, response,body);
	return;
} 
</pre>
</p>

<hr/>
<h3>Load the REDIS Database</h3>
<p>Simply run the load-database target on the build.xml file:</p>
<pre>
$ant load-database
</pre>
</hr/>
<h3>Start the Bidder</h3>
<p>Start the xrtb target in the build.xml file:</p>
<pre>
$ant xrtb
</pre>
<p>After a minute or so, the heartbeat message will appear on the console, it looks like this:</p>
<pre>
[2016-07-25 09:28:16.201] - 1 - ben-OptiPlex-780:8080 - Heartbeat - cpu=2.916%, freedsk=43.531%, threads=120, low-on-threads= false, avgBidTime= 0, avgForensiq= 0, total=3, requests=3, bids=2, nobids=0, fraud=0, wins=0, pixels=0, clicks=0, stopped=false, campaigns=1
</pre>
<p>Notice <i>campaigns=1</i>. This means you are ready to test.</p>
<hr/>
<h3>Send a Sample Bid</h3>
<p>There is a curl script called "smaatoBidTest.sh int he ./XRTB directory. It references a sample bid called SampleBids/smaato.json.</p>
<p>Execute this script, and the bidder will send a bid back to you like the following:</p>
<pre>
$ sh smaatoBidTest.sh 
{"seatbid":[{"seat":"seat1","bid":[{"impid":"1234","id":"K6t8sXXYdM","price":1.0,"adid":"smaato-test",
"nurl":"http://localhost:8080/rtb/win/smaato/${AUCTION_PRICE}/37.62/-122.38/smaato-test/image-test/K6t8sXXYdM",
"cid":"smaato-test","crid":"image-test","iurl":"http://localhost:8080/images/320x50.jpg?adid=smaato-test&bidid=K6t8sXXYdM",
"adomain": ["originator.com"],"adm":"<ad xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" 
xsi:noNamespaceSchemaLocation=\"smaato_ad_v0.9.xsd\" modelVersion=\"0.9\"><imageAd><clickUrl>http://localhost:8080/
redirect/exchange=smaato/smaato-test/creative_id=image-test/price=${AUCTION_PRICE}/lat=37.62/lon=-122.38/bid_id=K6t
8sXXYdM?url=http://localhost:8080/contact.html?0&amp;adid=smaato-test&amp;crid=image-test</clickUrl><imgUrl>http://
localhost:8080/images/320x50.jpg?adid=smaato-test&amp;bidid=K6t8sXXYdM</imgUrl><width>320</width><height>50</height>
<toolTip></toolTip><additionalText></additionalText><beacons><beacon>http://localhost:8080/pixel/exchange=smaato/
ad_id=smaato-test/creative_id=image-test/K6t8sXXYdM/price=${AUCTION_PRICE}/lat=37.62/lon=-122.38/bid_id=K6t8sXXYdM
</beacon></beacons></imageAd></ad>"}]}],"id":"K6t8sXXYdM","bidid":"K6t8sXXYdM"}
</pre>
<p>Now you are ready to run the compliance test.</p>
<hr/>
<h3>Run the Compliance Test</h3>
<p>Now, SMAATO will be sending you bid requests, you will be winning, and they will be sending you win notifications.
<b>YOU MUST MODIFY Campaigns/payday.json TO POINT TO THE CORRECT WIN AND CLICK HOSTS!!!!</b>. By default they point to
http://localhost:8080. <b>Change all references to http://localhost to your correct IP address.</p></b>
<p>After making sure your IP addresses are working, now you can start RTB4FREE.
<pre>
$ant xrtb
</pre>
<p>Now in the SMAATO test page, make sure they can see your RTB server by pressing the "Ping request URL host" first (Your RTB host
must be visible on the Internet, and ICMP is not blocked.), Once you are sure SMAATO can see your page, then press the compliance test. A
series of RTB requests are made, making sure the bidder doesn't bid on inappropriate items. Once you pass, you're on to the next step, "Auction Simulation"</p>

<hr/>
<h3>Run the Auction Simulation</h3>
<p>In the auction simulation SMAATO will make sure your numbers for bids, nobids, and cost accounting add up. For this test, you will also
use the example accounting system included with RTB4FREE. So open another console window on your RTB host so we can run that too.</p>
With the RTB4FREE bidder already running in the other window, start the accounting program SPARK, by typing:
<pre>
$ant spark
</pre>
The accounting program will start. As soon as it does, press the "Auction Simulation" on the SMAATO page and the auction begins. At the
conclusion of the auction SMAATO will present a form for you to fill out for Number of Bids, No Bids, and Wins and also the Cost of the Bids
and the Cost of the Wins.</p>
<p>Wait for the Spark program to run and collect all the statistics. They are collected immediately, but only print the stats after a minute or so. Once they 
are printed to the console take the data from the console window and put them in the SMAATO form. here's what the stats will look like:
<pre>
[java] ---------- HAMMER TIME -------------------
[java] -->request
[java] -->accounting
[java] -->bid
[java] -->pixel
[java] -->win
[java] -->click
[java] -->nobid
[java] -------------------- STATS ------------------------
[java] REQUESTS = 1000
[java] BIDS = 750
[java] NO-BIDS = 250
[java] WINS = 600
[java] PIXELS = 540
[java] CLICKS = 11
[java] BID COST = 750.0
[java] WIN COST = 529.007
[java] ----------------------------------------------------
</pre>
Transfer the number of bids, no bids, wins, bid cost and win cost to the SMAATO form and click OK. Now you are done!</p>
<p>Contact with your SMAATO account manager, set up your campaigns and start winning auctions.</p>
<h2>Set Up Your SMAATO Template for real</h2>
<p>Smaato uses an XML document in the ADM of the RTB bid response. The format of the template is a little different for SMAATO. Below you can see the template in the test SMAATO
campaign from database.json for the sample image based ad:
<xmp>
 "campaigns" : [ {
    "owner" : "ben",
    "adId" : "smaato-test",
    "adomain" : "originator.com",
    "template" : {
      "default" : "<a href='{redirect_url}/{pub}/{ad_id}/{creative_id}?url={campaign_forward_url}'><img src='{pixel_url}/{pub}/{ad_id}/{creative_id}/{bid_id}' height='1' width='1'></img><img src='{campaign_image_url}' height='{campaign_ad_height}' width='{campaign_ad_width}'></img></a>",
      "exchange" : {
        "mopub" : "<a href='mopub template here' </a>",
        "mobclix" : "<a href='mobclix template here' </a>",
        "nexage" : "<a href='{redirect_url}/{pub}/{ad_id}/{creative_id}?url={campaign_forward_url}'><img src='{pixel_url}/{pub}/{ad_id}/{creative_id}/{bid_id}' height='1' width='1'></img><img src='{campaign_image_url}' height='{campaign_ad_height}' width='{campaign_ad_width}'></img></a>",
        "privatex" : "<a href='{redirect_url}/{pub}/{ad_id}/{creative_id}?url={campaign_forward_url}'><img src='{pixel_url}/{pub}/{ad_id}/{bid_id}/${AUCTION_PRICE}/{creative_id}' height='1' width='1'></img><img src='{campaign_image_url}' height='{campaign_ad_height}' width='{campaign_ad_width}'></img></a>",
        "smaato" : "clickurl='{redirect_url}/{pub}/{ad_id}/{creative_id}?url={campaign_forward_url}'; imageurl='{campaign_image_url}'; pixelurl='{pixel_url}/{pub}/{ad_id}/{creative_id}/{bid_id}';"
      }
    },
    "attributes" : [ {
      "value" : "image/jpeg",
      "op" : "MEMBER",
      "notPresentOk" : false,
      "bidRequestValues" : [ "imp", "0", "banner", "mimes" ]
    } ],
    "creatives" : [ {
      "forwardurl" : "http://localhost:8080/contact.html?{site_id}&adid={ad_id}&crid={creative_id}",
      "imageurl" : "http://localhost:8080/images/320x50.jpg?adid={ad_id}&bidid={bid_id}",
      "impid" : "image-test",
      "w" : -1.0,
      "h" : -1.0,
      "attributes" : [ ],
      "price" : 1.0
    } ],
    "date" : [ 20130205, 20200101 ],
    "category" : [ "IAB1", "IAB2" ]
  }
</xmp>
<p>There are also example creatives for a text based ad and a richmedia ad, but the formats are basically the same</p>
<p>For SMAATO, the template.exchange.smaato value is set to a single like of Javascript, with variables used to set up the clickurl, the 
imageurl, and the pixelurl. Inside these strings you can set up desired format usingg the macro substitutions. Make sure you use proper Javascript!
</p>
<p>In the above example, you can see the clickurl is set to go to the RTB4FREE redirect, passing the pub, ad_id, and creative)id. The url field
is set to the actual campaign forward url. If you just wanted to just click straight to the ad simply specify the {campaign_forward_url} for 
the clickurl. The creatives[n].forwardurl will be substituted in. </p>
Not shown are the SMAATO variables for:  <i>tooltip, additionaltext, text,</i> and <i>javascript</i>, which are also available for use with SMAATO.
<commit_msg>Add a note about recompiling the RTBServer after the test<commit_after><script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-5532985-4', 'auto');
  ga('send', 'pageview');

</script>

<h2>Qualifying RTB4FREE With SMAATO</h2>
<p>RTB4FREE is easy to qualify with the SMAATO RTB exchange. Following these instructions you qualify your own implementation of RTB4FREE with
the SMAATO exchange in less than 30 minutes.</p>

<hr/>
<h3>Set Up Your SMAATO Account</h3>
<p>First you will need to obtain a <a href="http://dspportal.smaato.com/registration/register" target="_blank">SMAATO account as a DSP</a>. Of course, you need to get REDIS, WEBDIS, and RTB4FREE
set up to begin your bidding, <a href="details.html#QUICK" target="_blank">you can find instructions on that here.</a></p>
<p>You also need to tell SMAATO where your bid engine is, <h href="xxxx">tell them on this screen here.</a>
<p>You will be running two kinds of tests. One is the compliance test, which makes sure the RTB4FREE is correctly bidding and no-bidding on the 3 kinds
of ads that SMAATO supports: text, image, and rich media. Then, comes the accounting test. Once you have your account set up, <a href='http://dspportal.smaato.com/secure/index' target="_blank">go over to the
test page and get ready to test.</a> The test page looks something like this: <img src="smaato1.png"></img>. Make sure the OpenRTB request URL matches
your host id. For example, on host 192.168.3.11 it should look like http://192.168.3.11/rtb/bids/smaato</p>

<hr/>
<h3>Modify the Sample Campaign/payday.json</h3>
<p>First, you need to modify the Campaigns/payday.json file to change the campaign that the bidder will use. By default, the bidder uses ben:payday. You need to change that to "smaato-test". When complete
the Campaigns/payday.json should look like this:</p>
<code>
		"campaigns": [{

				"name": "ben",
				"id": "smaato-test"

			}

		]
</code>

<hr/>
<h3>Modify RTBidder.java To Handle Test Bids</h3>
<p>The test SMAATO campaign is already loaded by default from the Campaigns/payday.json file by default. However, you must modify com.xrtb.bidder.RTBServer.java
to enable the SMAATO test. Here is the code snippet:
<pre>
/************* Uncomment to run smaato compliance testing ****************************************/
/*Enumeration<String> params = request.getParameterNames();
String tester = null;
if (params.hasMoreElements()) {
	smaatoCompliance(target, baseRequest, request, response,body);
	return;
} */
/************************************************************************************************/
</pre>
When you are done, the code should look like:
<pre>
Enumeration<String> params = request.getParameterNames();
String tester = null;
if (params.hasMoreElements()) {
	smaatoCompliance(target, baseRequest, request, response,body);
	return;
} 
</pre>
</p>

<hr/>
<h3>Load the REDIS Database</h3>
<p>Simply run the load-database target on the build.xml file:</p>
<pre>
$ant load-database
</pre>
</hr/>
<h3>Start the Bidder</h3>
<p>Start the xrtb target in the build.xml file:</p>
<pre>
$ant xrtb
</pre>
<p>After a minute or so, the heartbeat message will appear on the console, it looks like this:</p>
<pre>
[2016-07-25 09:28:16.201] - 1 - ben-OptiPlex-780:8080 - Heartbeat - cpu=2.916%, freedsk=43.531%, threads=120, low-on-threads= false, avgBidTime= 0, avgForensiq= 0, total=3, requests=3, bids=2, nobids=0, fraud=0, wins=0, pixels=0, clicks=0, stopped=false, campaigns=1
</pre>
<p>Notice <i>campaigns=1</i>. This means you are ready to test.</p>
<hr/>
<h3>Send a Sample Bid</h3>
<p>There is a curl script called "smaatoBidTest.sh int he ./XRTB directory. It references a sample bid called SampleBids/smaato.json.</p>
<p>Execute this script, and the bidder will send a bid back to you like the following:</p>
<pre>
$ sh smaatoBidTest.sh 
{"seatbid":[{"seat":"seat1","bid":[{"impid":"1234","id":"K6t8sXXYdM","price":1.0,"adid":"smaato-test",
"nurl":"http://localhost:8080/rtb/win/smaato/${AUCTION_PRICE}/37.62/-122.38/smaato-test/image-test/K6t8sXXYdM",
"cid":"smaato-test","crid":"image-test","iurl":"http://localhost:8080/images/320x50.jpg?adid=smaato-test&bidid=K6t8sXXYdM",
"adomain": ["originator.com"],"adm":"<ad xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" 
xsi:noNamespaceSchemaLocation=\"smaato_ad_v0.9.xsd\" modelVersion=\"0.9\"><imageAd><clickUrl>http://localhost:8080/
redirect/exchange=smaato/smaato-test/creative_id=image-test/price=${AUCTION_PRICE}/lat=37.62/lon=-122.38/bid_id=K6t
8sXXYdM?url=http://localhost:8080/contact.html?0&amp;adid=smaato-test&amp;crid=image-test</clickUrl><imgUrl>http://
localhost:8080/images/320x50.jpg?adid=smaato-test&amp;bidid=K6t8sXXYdM</imgUrl><width>320</width><height>50</height>
<toolTip></toolTip><additionalText></additionalText><beacons><beacon>http://localhost:8080/pixel/exchange=smaato/
ad_id=smaato-test/creative_id=image-test/K6t8sXXYdM/price=${AUCTION_PRICE}/lat=37.62/lon=-122.38/bid_id=K6t8sXXYdM
</beacon></beacons></imageAd></ad>"}]}],"id":"K6t8sXXYdM","bidid":"K6t8sXXYdM"}
</pre>
<p>Now you are ready to run the compliance test.</p>
<hr/>
<h3>Run the Compliance Test</h3>
<p>Now, SMAATO will be sending you bid requests, you will be winning, and they will be sending you win notifications.
<b>YOU MUST MODIFY Campaigns/payday.json TO POINT TO THE CORRECT WIN AND CLICK HOSTS!!!!</b>. By default they point to
http://localhost:8080. <b>Change all references to http://localhost to your correct IP address.</p></b>
<p>After making sure your IP addresses are working, now you can start RTB4FREE.
<pre>
$ant xrtb
</pre>
<p>Now in the SMAATO test page, make sure they can see your RTB server by pressing the "Ping request URL host" first (Your RTB host
must be visible on the Internet, and ICMP is not blocked.), Once you are sure SMAATO can see your page, then press the compliance test. A
series of RTB requests are made, making sure the bidder doesn't bid on inappropriate items. Once you pass, you're on to the next step, "Auction Simulation"</p>

<hr/>
<h3>Run the Auction Simulation</h3>
<p>In the auction simulation SMAATO will make sure your numbers for bids, nobids, and cost accounting add up. For this test, you will also
use the example accounting system included with RTB4FREE. So open another console window on your RTB host so we can run that too.</p>
With the RTB4FREE bidder already running in the other window, start the accounting program SPARK, by typing:
<pre>
$ant spark
</pre>
The accounting program will start. As soon as it does, press the "Auction Simulation" on the SMAATO page and the auction begins. At the
conclusion of the auction SMAATO will present a form for you to fill out for Number of Bids, No Bids, and Wins and also the Cost of the Bids
and the Cost of the Wins.</p>
<p>Wait for the Spark program to run and collect all the statistics. They are collected immediately, but only print the stats after a minute or so. Once they 
are printed to the console take the data from the console window and put them in the SMAATO form. here's what the stats will look like:
<pre>
[java] ---------- HAMMER TIME -------------------
[java] -->request
[java] -->accounting
[java] -->bid
[java] -->pixel
[java] -->win
[java] -->click
[java] -->nobid
[java] -------------------- STATS ------------------------
[java] REQUESTS = 1000
[java] BIDS = 750
[java] NO-BIDS = 250
[java] WINS = 600
[java] PIXELS = 540
[java] CLICKS = 11
[java] BID COST = 750.0
[java] WIN COST = 529.007
[java] ----------------------------------------------------
</pre>
Transfer the number of bids, no bids, wins, bid cost and win cost to the SMAATO form and click OK. Now you are done!</p>
<p>Contact with your SMAATO account manager, set up your campaigns and start winning auctions.</p>
<h2>Set Up Your SMAATO Template for real</h2>
<p>Smaato uses an XML document in the ADM of the RTB bid response. The format of the template is a little different for SMAATO. Below you can see the template in the test SMAATO
campaign from database.json for the sample image based ad:
<xmp>
 "campaigns" : [ {
    "owner" : "ben",
    "adId" : "smaato-test",
    "adomain" : "originator.com",
    "template" : {
      "default" : "<a href='{redirect_url}/{pub}/{ad_id}/{creative_id}?url={campaign_forward_url}'><img src='{pixel_url}/{pub}/{ad_id}/{creative_id}/{bid_id}' height='1' width='1'></img><img src='{campaign_image_url}' height='{campaign_ad_height}' width='{campaign_ad_width}'></img></a>",
      "exchange" : {
        "mopub" : "<a href='mopub template here' </a>",
        "mobclix" : "<a href='mobclix template here' </a>",
        "nexage" : "<a href='{redirect_url}/{pub}/{ad_id}/{creative_id}?url={campaign_forward_url}'><img src='{pixel_url}/{pub}/{ad_id}/{creative_id}/{bid_id}' height='1' width='1'></img><img src='{campaign_image_url}' height='{campaign_ad_height}' width='{campaign_ad_width}'></img></a>",
        "privatex" : "<a href='{redirect_url}/{pub}/{ad_id}/{creative_id}?url={campaign_forward_url}'><img src='{pixel_url}/{pub}/{ad_id}/{bid_id}/${AUCTION_PRICE}/{creative_id}' height='1' width='1'></img><img src='{campaign_image_url}' height='{campaign_ad_height}' width='{campaign_ad_width}'></img></a>",
        "smaato" : "clickurl='{redirect_url}/{pub}/{ad_id}/{creative_id}?url={campaign_forward_url}'; imageurl='{campaign_image_url}'; pixelurl='{pixel_url}/{pub}/{ad_id}/{creative_id}/{bid_id}';"
      }
    },
    "attributes" : [ {
      "value" : "image/jpeg",
      "op" : "MEMBER",
      "notPresentOk" : false,
      "bidRequestValues" : [ "imp", "0", "banner", "mimes" ]
    } ],
    "creatives" : [ {
      "forwardurl" : "http://localhost:8080/contact.html?{site_id}&adid={ad_id}&crid={creative_id}",
      "imageurl" : "http://localhost:8080/images/320x50.jpg?adid={ad_id}&bidid={bid_id}",
      "impid" : "image-test",
      "w" : -1.0,
      "h" : -1.0,
      "attributes" : [ ],
      "price" : 1.0
    } ],
    "date" : [ 20130205, 20200101 ],
    "category" : [ "IAB1", "IAB2" ]
  }
</xmp>
<p>There are also example creatives for a text based ad and a richmedia ad, but the formats are basically the same</p>
<p>For SMAATO, the template.exchange.smaato value is set to a single like of Javascript, with variables used to set up the clickurl, the 
imageurl, and the pixelurl. Inside these strings you can set up desired format usingg the macro substitutions. Make sure you use proper Javascript!
</p>
<p>In the above example, you can see the clickurl is set to go to the RTB4FREE redirect, passing the pub, ad_id, and creative)id. The url field
is set to the actual campaign forward url. If you just wanted to just click straight to the ad simply specify the {campaign_forward_url} for 
the clickurl. The creatives[n].forwardurl will be substituted in. </p>
Not shown are the SMAATO variables for:  <i>tooltip, additionaltext, text,</i> and <i>javascript</i>, which are also available for use with SMAATO.
<hr/>

<h3>
<p>Don't forget to comment out the SMAATO test code when you are dome with your tests! Otherwise when you run for real, the test
code will override your campaigns,</p>
{'fraction_non_alphanumeric': 0.16948700866089275, 'fraction_numerical': 0.02562735953808572, 'mean_word_length': 4.571888146498392, 'pattern_counts': {'":': 36, '<': 327, '<?xml version=': 0, '>': 337, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 6}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2173720', 'n_tokens_mistral': 8147, 'n_tokens_neox': 7662, 'n_words': 2412}