update
Browse files- README.md +1 -1
- config/app.json +6 -0
- package.json +2 -2
- src/index.js +2 -2
- src/style.css +1 -1
- webpack.config.js +8 -5
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
emoji: π
|
| 4 |
colorFrom: pink
|
| 5 |
colorTo: indigo
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Scaling insanity
|
| 3 |
emoji: π
|
| 4 |
colorFrom: pink
|
| 5 |
colorTo: indigo
|
config/app.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"title": "Scaling Insanity",
|
| 3 |
+
"subtitle": "maintaining hundreds of model definitions",
|
| 4 |
+
"description": "A peek into software engineering for the transformers library",
|
| 5 |
+
"fullTitle": "Scaling Insanity: maintaining hundreds of model definitions"
|
| 6 |
+
}
|
package.json
CHANGED
|
@@ -7,9 +7,9 @@
|
|
| 7 |
"plotly.js-basic-dist-min": "^2.33.0",
|
| 8 |
"markdown-it": "^13.0.1"
|
| 9 |
},
|
| 10 |
-
"name": "
|
| 11 |
"version": "1.0.0",
|
| 12 |
-
"description": "
|
| 13 |
"main": "index.js",
|
| 14 |
"scripts": {
|
| 15 |
"dev": "webpack serve --open --hot",
|
|
|
|
| 7 |
"plotly.js-basic-dist-min": "^2.33.0",
|
| 8 |
"markdown-it": "^13.0.1"
|
| 9 |
},
|
| 10 |
+
"name": "scaling-insanity",
|
| 11 |
"version": "1.0.0",
|
| 12 |
+
"description": "A peek into software engineering for the transformers library",
|
| 13 |
"main": "index.js",
|
| 14 |
"scripts": {
|
| 15 |
"dev": "webpack serve --open --hot",
|
src/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
-
// Main JavaScript file for
|
| 2 |
import './style.css';
|
| 3 |
|
| 4 |
// Import any additional functionality
|
| 5 |
-
console.log('
|
| 6 |
|
| 7 |
// Add any custom JavaScript functionality here
|
| 8 |
document.addEventListener('DOMContentLoaded', function() {
|
|
|
|
| 1 |
+
// Main JavaScript file for Scaling Insanity
|
| 2 |
import './style.css';
|
| 3 |
|
| 4 |
// Import any additional functionality
|
| 5 |
+
console.log('Scaling Insanity loaded');
|
| 6 |
|
| 7 |
// Add any custom JavaScript functionality here
|
| 8 |
document.addEventListener('DOMContentLoaded', function() {
|
src/style.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
/* style.css -
|
| 2 |
|
| 3 |
/* Import ultrascale-playbook base styles and add transformers-specific styling */
|
| 4 |
/* Define colors */
|
|
|
|
| 1 |
+
/* style.css - Scaling Insanity */
|
| 2 |
|
| 3 |
/* Import ultrascale-playbook base styles and add transformers-specific styling */
|
| 4 |
/* Define colors */
|
webpack.config.js
CHANGED
|
@@ -4,6 +4,9 @@ const CopyPlugin = require("copy-webpack-plugin");
|
|
| 4 |
const BundleAnalyzerPlugin = require("webpack-bundle-analyzer").BundleAnalyzerPlugin;
|
| 5 |
const Handlebars = require("handlebars");
|
| 6 |
const fs = require("fs");
|
|
|
|
|
|
|
|
|
|
| 7 |
const ImageMinimizerPlugin = require("image-minimizer-webpack-plugin");
|
| 8 |
const HtmlMinimizerPlugin = require("html-minimizer-webpack-plugin");
|
| 9 |
|
|
@@ -225,22 +228,22 @@ module.exports = {
|
|
| 225 |
<script src="https://d3js.org/d3.v7.min.js"></script>
|
| 226 |
<meta name="viewport" content="width=device-width, initial-scale=1">
|
| 227 |
<meta charset="utf8">
|
| 228 |
-
<title
|
| 229 |
<link rel="stylesheet" href="style.css">
|
| 230 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism.min.css">
|
| 231 |
</head>
|
| 232 |
<body>
|
| 233 |
<d-front-matter>
|
| 234 |
<script id='distill-front-matter' type="text/json">{
|
| 235 |
-
"title": "
|
| 236 |
-
"description": "
|
| 237 |
"published": "Aug 21, 2025",
|
| 238 |
"authors": [{"author": "Pablo Montalvo", "authorURL": "https://huggingface.co/Molbap"}]
|
| 239 |
}</script>
|
| 240 |
</d-front-matter>
|
| 241 |
<d-title>
|
| 242 |
-
<h1
|
| 243 |
-
<p
|
| 244 |
</d-title>
|
| 245 |
<d-byline></d-byline>
|
| 246 |
<d-article>
|
|
|
|
| 4 |
const BundleAnalyzerPlugin = require("webpack-bundle-analyzer").BundleAnalyzerPlugin;
|
| 5 |
const Handlebars = require("handlebars");
|
| 6 |
const fs = require("fs");
|
| 7 |
+
|
| 8 |
+
// Load app configuration
|
| 9 |
+
const appConfig = JSON.parse(fs.readFileSync(path.resolve(__dirname, "config/app.json"), "utf8"));
|
| 10 |
const ImageMinimizerPlugin = require("image-minimizer-webpack-plugin");
|
| 11 |
const HtmlMinimizerPlugin = require("html-minimizer-webpack-plugin");
|
| 12 |
|
|
|
|
| 228 |
<script src="https://d3js.org/d3.v7.min.js"></script>
|
| 229 |
<meta name="viewport" content="width=device-width, initial-scale=1">
|
| 230 |
<meta charset="utf8">
|
| 231 |
+
<title>${appConfig.fullTitle}</title>
|
| 232 |
<link rel="stylesheet" href="style.css">
|
| 233 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism.min.css">
|
| 234 |
</head>
|
| 235 |
<body>
|
| 236 |
<d-front-matter>
|
| 237 |
<script id='distill-front-matter' type="text/json">{
|
| 238 |
+
"title": "${appConfig.fullTitle}",
|
| 239 |
+
"description": "${appConfig.description}",
|
| 240 |
"published": "Aug 21, 2025",
|
| 241 |
"authors": [{"author": "Pablo Montalvo", "authorURL": "https://huggingface.co/Molbap"}]
|
| 242 |
}</script>
|
| 243 |
</d-front-matter>
|
| 244 |
<d-title>
|
| 245 |
+
<h1>${appConfig.fullTitle}</h1>
|
| 246 |
+
<p>${appConfig.description}</p>
|
| 247 |
</d-title>
|
| 248 |
<d-byline></d-byline>
|
| 249 |
<d-article>
|