This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 240bf9f3599 Publishing website 2022/08/18 16:15:34 at commit 75eb0b1
240bf9f3599 is described below
commit 240bf9f359957d1a49eaf7400d4340800aaa393e
Author: jenkins <[email protected]>
AuthorDate: Thu Aug 18 16:15:35 2022 +0000
Publishing website 2022/08/18 16:15:34 at commit 75eb0b1
---
website/generated-content/contribute/index.html | 4 ++--
.../documentation/sdks/python-machine-learning/index.html | 6 +++---
website/generated-content/sitemap.xml | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/website/generated-content/contribute/index.html
b/website/generated-content/contribute/index.html
index acb107f37a8..2419afa6539 100644
--- a/website/generated-content/contribute/index.html
+++ b/website/generated-content/contribute/index.html
@@ -19,10 +19,10 @@
function addPlaceholder(){$('input:text').attr('placeholder',"What are you
looking for?");}
function endSearch(){var
search=document.querySelector(".searchBar");search.classList.add("disappear");var
icons=document.querySelector("#iconsBar");icons.classList.remove("disappear");}
function blockScroll(){$("body").toggleClass("fixedPosition");}
-function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span
class=section-nav-list-main-title>Contribute</span></li><li><a
href=/contribute/get-started-contributing>Code contribution
guide</a></li><li><a href=/contribute/get-help/>Get help</a></ [...]
+function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span
class=section-nav-list-main-title>Contribute</span></li><li><a
href=/contribute/get-started-contributing>Code contribution
guide</a></li><li><a href=/contribute/get-help/>Get help</a></ [...]
<span><a
href=/contribute/attributes/#knows-upholds-and-reinforces-the-beam-communitys-practices>Learn
more.</a></span></div></div><div class=traits-item><div
class=traits-item-icon><svg xmlns="http://www.w3.org/2000/svg" width="112"
height="113" fill="none" viewBox="0 0 112 113"><path fill="#ffe5d9" d="M56
112.909c30.928.0 56-25.072 56-56s-25.072-56-56-56-56 25.072-56 56 25.072 56 56
56z"/><path fill="#ff570b" fill-rule="evenodd" d="M66.616 56.598c-5.523.0-10
4.477-10 10v3.097c0 5.523 4 [...]
<span><a
href=/contribute/attributes#knows-upholds-and-reinforces-the-apache-software-foundation-code-of-conduct>Learn
more.</a></span></div></div><div class=traits-item><div
class=traits-item-icon><svg width="112" height="113" viewBox="0 0 112 113"
fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M56 112.445C86.9279
112.445 112 87.3732 112 56.4453 112 25.5174 86.9279.445312 56 .445312
25.0721.445312.0 25.5174.0 56.4453.0 87.3732 25.0721 112.445 56 112.445z"
fill="#ffe5d9"/><path [...]
-<span><a
href=/contribute/attributes#knows-upholds-and-reinforces-the-responsibilities-of-an-apache-software-foundation-committer>Learn
more.</a></span></div></div></div><h2
id=become-a-project-management-committee-pmc-member>Become a Project Management
Committee (PMC) Member</h2><p>The PMC is the official managing body of the
project as per the Apache Software Foundation governance model: “The Apache
Way”. PMC members vote to set Apache Beam’s community and technical direction
and are d [...]
+<span><a
href=/contribute/attributes#knows-upholds-and-reinforces-the-responsibilities-of-an-apache-software-foundation-committer>Learn
more.</a></span></div></div></div><h2
id=become-a-project-management-committee-pmc-member>Become a Project Management
Committee (PMC) Member</h2><p>The PMC is the official managing body of the
project as per the Apache Software Foundation governance model: “The Apache
Way”. PMC members vote to set Apache Beam’s community and technical direction
and are d [...]
<a href=http://www.apache.org>The Apache Software Foundation</a>
| <a href=/privacy_policy>Privacy Policy</a>
| <a href=/feed.xml>RSS Feed</a><br><br>Apache Beam, Apache, Beam, the Beam
logo, and the Apache feather logo are either registered trademarks or
trademarks of The Apache Software Foundation. All other products or name brands
are trademarks of their respective holders, including The Apache Software
Foundation.</div></div><div class="footer__cols__col
footer__cols__col__logos"><div class=footer__cols__col--group><div
class=footer__cols__col__logo><a href=https://github.com/apache/beam><im [...]
\ No newline at end of file
diff --git
a/website/generated-content/documentation/sdks/python-machine-learning/index.html
b/website/generated-content/documentation/sdks/python-machine-learning/index.html
index baaaa2a5c09..08e2271d898 100644
---
a/website/generated-content/documentation/sdks/python-machine-learning/index.html
+++
b/website/generated-content/documentation/sdks/python-machine-learning/index.html
@@ -20,7 +20,7 @@ function
addPlaceholder(){$('input:text').attr('placeholder',"What are you looki
function endSearch(){var
search=document.querySelector(".searchBar");search.classList.add("disappear");var
icons=document.querySelector("#iconsBar");icons.classList.remove("disappear");}
function blockScroll(){$("body").toggleClass("fixedPosition");}
function openMenu(){addPlaceholder();blockScroll();}</script><div
class="clearfix container-main-content"><div class="section-nav closed"
data-offset-top=90 data-offset-bottom=500><span class="section-nav-back
glyphicon glyphicon-menu-left"></span><nav><ul class=section-nav-list
data-section-nav><li><span
class=section-nav-list-main-title>Languages</span></li><li><span
class=section-nav-list-title>Java</span><ul class=section-nav-list><li><a
href=/documentation/sdks/java/>Java SDK overvi [...]
-Pydoc</a></td></table><p><br><br><br></p><p>You can use Apache Beam with the
RunInference API to use machine learning (ML) models to do local and remote
inference with batch and streaming pipelines. Starting with Apache Beam 2.40.0,
PyTorch and Scikit-learn frameworks are supported. You can create multiple
types of transforms using the RunInference API: the API takes multiple types of
setup parameters from model handlers, and the parameter type determines the
model implementation.</p><h2 [...]
+Pydoc</a></td></table><p><br><br><br></p><p>You can use Apache Beam with the
RunInference API to use machine learning (ML) models to do local and remote
inference with batch and streaming pipelines. Starting with Apache Beam 2.40.0,
PyTorch and Scikit-learn frameworks are supported. You can create multiple
types of transforms using the RunInference API: the API takes multiple types of
setup parameters from model handlers, and the parameter type determines the
model implementation.</p><h2 [...]
<a
href=https://github.com/apache/beam/blob/master/sdks/python/apache_beam/utils/shared.py#L20><code>Shared</code>
class documentation</a>.</p><h3 id=multi-model-pipelines>Multi-model
pipelines</h3><p>The RunInference API can be composed into multi-model
pipelines. Multi-model pipelines can be useful for A/B testing or for building
out ensembles that are comprised of models that perform tokenization, sentence
segmentation, part-of-speech tagging, named entity extraction, language detecti
[...]
with pipeline as p:
predictions = ( p | 'Read' >> beam.ReadFromSource('a_source')
@@ -29,7 +29,7 @@ with pipeline as p:
from apache_beam.ml.inference.sklearn_inference import
SklearnModelHandlerPandas
from apache_beam.ml.inference.pytorch_inference import
PytorchModelHandlerTensor
from apache_beam.ml.inference.pytorch_inference import
PytorchModelHandlerKeyedTensor
-</code></pre><h3 id=use-pre-trained-models>Use pre-trained models</h3><p>The
section provides requirements for using pre-trained models with PyTorch and
Scikit-learn</p><h4 id=pytorch>PyTorch</h4><p>You need to provide a path to a
file that contains the model saved weights. This path must be accessible by the
pipeline. To use pre-trained models with the RunInference API and the PyTorch
framework, complete the following steps:</p><ol><li>Download the pre-trained
weights and host them in a [...]
+</code></pre><h3 id=use-pre-trained-models>Use pre-trained models</h3><p>The
section provides requirements for using pre-trained models with PyTorch and
Scikit-learn</p><h4 id=pytorch>PyTorch</h4><p>You need to provide a path to a
file that contains the model’s saved weights. This path must be
accessible by the pipeline. To use pre-trained models with the RunInference API
and the PyTorch framework, complete the following steps:</p><ol><li>Download
the pre-trained weights and host t [...]
<code>model_uri=<path_to_pickled_file></code> and <code>model_file_type:
<ModelFileType></code>, where you can specify
<code>ModelFileType.PICKLE</code> or <code>ModelFileType.JOBLIB</code>,
depending on how the model was serialized.</li></ol><h3
id=use-multiple-models>Use multiple models</h3><p>You can also use the
RunInference transform to add multiple inference models to your
pipeline.</p><h4 id=ab-pattern>A/B Pattern</h4><pre><code>with pipeline as p:
data = p | 'Read' >> beam.ReadFromSource('a_source')
@@ -66,7 +66,7 @@ with pipeline as p:
| 'ProcessOutput' >> beam.ParDo(PostProcessor()))
</code></pre><p>If you need to use this object explicitly, include the
following line in your pipeline to import the object:</p><pre><code>from
apache_beam.ml.inference.base import PredictionResult
</code></pre><p>For more information, see the <a
href=https://github.com/apache/beam/blob/master/sdks/python/apache_beam/ml/inference/base.py#L65><code>PredictionResult</code>
documentation</a>.</p><h2 id=run-a-machine-learning-pipeline>Run a machine
learning pipeline</h2><p>For detailed instructions explaining how to build and
run a pipeline that uses ML models, see the
-<a
href=https://github.com/apache/beam/tree/master/sdks/python/apache_beam/examples/inference>Example
RunInference API pipelines</a> on GitHub.</p><h2 id=beam-java-sdk-support>Beam
Java SDK support</h2><p>RunInference API is available to Beam Java SDK 2.41.0
and later through Apache Beam <a
href=https://beam.apache.org/documentation/programming-guide/#multi-language-pipelines>Multi-language
Pipelines framework</a>. Please see <a
href=https://github.com/apache/beam/blob/master/sdks/java/e [...]
+<a
href=https://github.com/apache/beam/tree/master/sdks/python/apache_beam/examples/inference>Example
RunInference API pipelines</a> on GitHub.</p><h2 id=beam-java-sdk-support>Beam
Java SDK support</h2><p>RunInference API is available to Beam Java SDK 2.41.0
and later through Apache Beam’s <a
href=https://beam.apache.org/documentation/programming-guide/#multi-language-pipelines>Multi-language
Pipelines framework</a>. Please see <a
href=https://github.com/apache/beam/blob/master/sdk [...]
<a
href=/documentation/sdks/python-machine-learning/#batchelements-ptransform>BatchElements
PTransforms</a>. For an example, see our <a
href=https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/inference/pytorch_language_modeling.py>language
modeling example</a>.</p><h2 id=related-links>Related links</h2><ul><li><a
href=/documentation/transforms/python/elementwise/runinference>RunInference
transforms</a></li><li><a href=https://github.com/apache/beam/tree/master/sd
[...]
Pydoc</a></td></table><p><br><br><br></p></div></div><footer class=footer><div
class=footer__contained><div class=footer__cols><div class="footer__cols__col
footer__cols__col__logos"><div class=footer__cols__col__logo><img
src=/images/beam_logo_circle.svg class=footer__logo alt="Beam logo"></div><div
class=footer__cols__col__logo><img src=/images/apache_logo_circle.svg
class=footer__logo alt="Apache logo"></div></div><div class=footer-wrapper><div
class=wrapper-grid><div class=footer__co [...]
<a href=http://www.apache.org>The Apache Software Foundation</a>
diff --git a/website/generated-content/sitemap.xml
b/website/generated-content/sitemap.xml
index ce507870232..babe8bdfd75 100644
--- a/website/generated-content/sitemap.xml
+++ b/website/generated-content/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/case-studies/intuit/</loc><lastmod>2022-08-18T01:27:08+06:00</lastmod></url><url><loc>/blog/go-2.40/</loc><lastmod>2022-07-06T14:03:32-04:00</lastmod></url><url><loc>/categories/blog/</loc><lastmod>2022-07-06T14:03:32-04:00</lastmod></url><url><loc>/blog/</loc><lastmod>2022-07-06T14:03:32-04:00</lastmod></url><url><loc>/c
[...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/case-studies/intuit/</loc><lastmod>2022-08-18T01:27:08+06:00</lastmod></url><url><loc>/blog/go-2.40/</loc><lastmod>2022-07-06T14:03:32-04:00</lastmod></url><url><loc>/categories/blog/</loc><lastmod>2022-07-06T14:03:32-04:00</lastmod></url><url><loc>/blog/</loc><lastmod>2022-07-06T14:03:32-04:00</lastmod></url><url><loc>/c
[...]
\ No newline at end of file