Skip to content

Commit

Permalink
Deploying to gh-pages from @ 61492e0 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
minhthuc2502 committed Feb 15, 2024
1 parent fed83b6 commit 3860e93
Show file tree
Hide file tree
Showing 89 changed files with 442 additions and 163 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 5f24fde6c96ec91e6637f22d214e6491
config: 14fa6bf3b54506b8fa1518368174e6f6
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file added .doctrees/python/ctranslate2.Device.doctree
Binary file not shown.
Binary file modified .doctrees/python/ctranslate2.StorageView.doctree
Binary file not shown.
Binary file modified .doctrees/python/ctranslate2.doctree
Binary file not shown.
14 changes: 14 additions & 0 deletions _sources/python/ctranslate2.Device.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Device
======

.. autoclass:: ctranslate2.Device
:members:
:undoc-members:
:inherited-members:

**Inherits from:** :class:`pybind11_builtins.pybind11_object`

**Attributes:**

- :obj:`~ctranslate2.Device.name`
- :obj:`~ctranslate2.Device.value`
1 change: 1 addition & 0 deletions _sources/python/ctranslate2.StorageView.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ StorageView

- :obj:`~ctranslate2.StorageView.from_array`
- :obj:`~ctranslate2.StorageView.to`
- :obj:`~ctranslate2.StorageView.to_device`
1 change: 1 addition & 0 deletions _sources/python/ctranslate2.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ctranslate2
ctranslate2.AsyncScoringResult
ctranslate2.AsyncTranslationResult
ctranslate2.DataType
ctranslate2.Device
ctranslate2.Encoder
ctranslate2.EncoderForwardOutput
ctranslate2.ExecutionStats
Expand Down
2 changes: 1 addition & 1 deletion _static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
VERSION: '3.24.0',
VERSION: '4.0.0',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
4 changes: 2 additions & 2 deletions conversion.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Model conversion &mdash; CTranslate2 3.24.0 documentation</title>
<title>Model conversion &mdash; CTranslate2 4.0.0 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
Expand Down Expand Up @@ -32,7 +32,7 @@
<a href="index.html" class="icon icon-home"> CTranslate2
</a>
<div class="version">
3.24
4.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down
4 changes: 2 additions & 2 deletions decoding.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Decoding features &mdash; CTranslate2 3.24.0 documentation</title>
<title>Decoding features &mdash; CTranslate2 4.0.0 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
Expand Down Expand Up @@ -32,7 +32,7 @@
<a href="index.html" class="icon icon-home"> CTranslate2
</a>
<div class="version">
3.24
4.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down
4 changes: 2 additions & 2 deletions encoding.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Text encoding &mdash; CTranslate2 3.24.0 documentation</title>
<title>Text encoding &mdash; CTranslate2 4.0.0 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
Expand Down Expand Up @@ -32,7 +32,7 @@
<a href="index.html" class="icon icon-home"> CTranslate2
</a>
<div class="version">
3.24
4.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down
4 changes: 2 additions & 2 deletions environment_variables.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Environment variables &mdash; CTranslate2 3.24.0 documentation</title>
<title>Environment variables &mdash; CTranslate2 4.0.0 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
Expand Down Expand Up @@ -32,7 +32,7 @@
<a href="index.html" class="icon icon-home"> CTranslate2
</a>
<div class="version">
3.24
4.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down
4 changes: 2 additions & 2 deletions faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Frequently asked questions &mdash; CTranslate2 3.24.0 documentation</title>
<title>Frequently asked questions &mdash; CTranslate2 4.0.0 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
Expand Down Expand Up @@ -32,7 +32,7 @@
<a href="index.html" class="icon icon-home"> CTranslate2
</a>
<div class="version">
3.24
4.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down
4 changes: 2 additions & 2 deletions generation.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Text generation &mdash; CTranslate2 3.24.0 documentation</title>
<title>Text generation &mdash; CTranslate2 4.0.0 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
Expand Down Expand Up @@ -32,7 +32,7 @@
<a href="index.html" class="icon icon-home"> CTranslate2
</a>
<div class="version">
3.24
4.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down
24 changes: 20 additions & 4 deletions genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Index &mdash; CTranslate2 3.24.0 documentation</title>
<title>Index &mdash; CTranslate2 4.0.0 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
Expand All @@ -29,7 +29,7 @@
<a href="index.html" class="icon icon-home"> CTranslate2
</a>
<div class="version">
3.24
4.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down Expand Up @@ -150,6 +150,8 @@ <h2 id="_">_</h2>
<li><a href="python/ctranslate2.converters.TransformersConverter.html#ctranslate2.converters.TransformersConverter.__init__">(ctranslate2.converters.TransformersConverter method)</a>
</li>
<li><a href="python/ctranslate2.DataType.html#ctranslate2.DataType.__init__">(ctranslate2.DataType method)</a>
</li>
<li><a href="python/ctranslate2.Device.html#ctranslate2.Device.__init__">(ctranslate2.Device method)</a>
</li>
<li><a href="python/ctranslate2.Encoder.html#ctranslate2.Encoder.__init__">(ctranslate2.Encoder method)</a>
</li>
Expand Down Expand Up @@ -297,6 +299,8 @@ <h2 id="C">C</h2>
</li>
</ul></li>
<li><a href="python/ctranslate2.converters.Converter.html#ctranslate2.converters.Converter">Converter (class in ctranslate2.converters)</a>
</li>
<li><a href="python/ctranslate2.Device.html#ctranslate2.Device.cpu">cpu (ctranslate2.Device attribute)</a>
</li>
<li>
ctranslate2
Expand Down Expand Up @@ -326,6 +330,8 @@ <h2 id="C">C</h2>
<li><a href="python/ctranslate2.specs.html#module-ctranslate2.specs">module</a>
</li>
</ul></li>
<li><a href="python/ctranslate2.Device.html#ctranslate2.Device.cuda">cuda (ctranslate2.Device attribute)</a>
</li>
</ul></td>
</tr></table>

Expand Down Expand Up @@ -353,6 +359,8 @@ <h2 id="D">D</h2>
</li>
</ul></li>
<li><a href="python/ctranslate2.models.Whisper.html#ctranslate2.models.Whisper.detect_language">detect_language() (ctranslate2.models.Whisper method)</a>
</li>
<li><a href="python/ctranslate2.Device.html#ctranslate2.Device">Device (class in ctranslate2)</a>
</li>
<li><a href="python/ctranslate2.Encoder.html#ctranslate2.Encoder.device">device (ctranslate2.Encoder property)</a>

Expand Down Expand Up @@ -624,6 +632,8 @@ <h2 id="N">N</h2>
<li><a href="python/ctranslate2.DataType.html#ctranslate2.DataType.name">name (ctranslate2.DataType property)</a>

<ul>
<li><a href="python/ctranslate2.Device.html#ctranslate2.Device.name">(ctranslate2.Device property)</a>
</li>
<li><a href="python/ctranslate2.specs.LanguageModelSpec.html#ctranslate2.specs.LanguageModelSpec.name">(ctranslate2.specs.LanguageModelSpec property)</a>
</li>
<li><a href="python/ctranslate2.specs.ModelSpec.html#ctranslate2.specs.ModelSpec.name">(ctranslate2.specs.ModelSpec property)</a>
Expand Down Expand Up @@ -908,6 +918,8 @@ <h2 id="T">T</h2>
<li><a href="python/ctranslate2.specs.Activation.html#ctranslate2.specs.Activation.Tanh">Tanh (ctranslate2.specs.Activation attribute)</a>
</li>
<li><a href="python/ctranslate2.StorageView.html#ctranslate2.StorageView.to">to() (ctranslate2.StorageView method)</a>
</li>
<li><a href="python/ctranslate2.StorageView.html#ctranslate2.StorageView.to_device">to_device() (ctranslate2.StorageView method)</a>
</li>
<li><a href="python/ctranslate2.GenerationStepResult.html#ctranslate2.GenerationStepResult.token">token (ctranslate2.GenerationStepResult property)</a>
</li>
Expand Down Expand Up @@ -979,10 +991,14 @@ <h2 id="V">V</h2>
<li><a href="python/ctranslate2.specs.WhisperSpec.html#ctranslate2.specs.WhisperSpec.validate">(ctranslate2.specs.WhisperSpec method)</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="python/ctranslate2.DataType.html#ctranslate2.DataType.value">value (ctranslate2.DataType property)</a>

<ul>
<li><a href="python/ctranslate2.Device.html#ctranslate2.Device.value">(ctranslate2.Device property)</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="python/ctranslate2.specs.LanguageModelSpec.html#ctranslate2.specs.LanguageModelSpec.variables">variables() (ctranslate2.specs.LanguageModelSpec method)</a>

<ul>
Expand Down
4 changes: 2 additions & 2 deletions guides/fairseq.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Fairseq &mdash; CTranslate2 3.24.0 documentation</title>
<title>Fairseq &mdash; CTranslate2 4.0.0 documentation</title>
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
Expand Down Expand Up @@ -32,7 +32,7 @@
<a href="../index.html" class="icon icon-home"> CTranslate2
</a>
<div class="version">
3.24
4.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
Expand Down
4 changes: 2 additions & 2 deletions guides/marian.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Marian &mdash; CTranslate2 3.24.0 documentation</title>
<title>Marian &mdash; CTranslate2 4.0.0 documentation</title>
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
Expand Down Expand Up @@ -32,7 +32,7 @@
<a href="../index.html" class="icon icon-home"> CTranslate2
</a>
<div class="version">
3.24
4.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
Expand Down
4 changes: 2 additions & 2 deletions guides/opennmt_py.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>OpenNMT-py &mdash; CTranslate2 3.24.0 documentation</title>
<title>OpenNMT-py &mdash; CTranslate2 4.0.0 documentation</title>
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
Expand Down Expand Up @@ -32,7 +32,7 @@
<a href="../index.html" class="icon icon-home"> CTranslate2
</a>
<div class="version">
3.24
4.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
Expand Down
4 changes: 2 additions & 2 deletions guides/opennmt_tf.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>OpenNMT-tf &mdash; CTranslate2 3.24.0 documentation</title>
<title>OpenNMT-tf &mdash; CTranslate2 4.0.0 documentation</title>
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
Expand Down Expand Up @@ -32,7 +32,7 @@
<a href="../index.html" class="icon icon-home"> CTranslate2
</a>
<div class="version">
3.24
4.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
Expand Down
4 changes: 2 additions & 2 deletions guides/opus_mt.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>OPUS-MT &mdash; CTranslate2 3.24.0 documentation</title>
<title>OPUS-MT &mdash; CTranslate2 4.0.0 documentation</title>
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
Expand Down Expand Up @@ -32,7 +32,7 @@
<a href="../index.html" class="icon icon-home"> CTranslate2
</a>
<div class="version">
3.24
4.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
Expand Down
4 changes: 2 additions & 2 deletions guides/transformers.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Transformers &mdash; CTranslate2 3.24.0 documentation</title>
<title>Transformers &mdash; CTranslate2 4.0.0 documentation</title>
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
Expand Down Expand Up @@ -32,7 +32,7 @@
<a href="../index.html" class="icon icon-home"> CTranslate2
</a>
<div class="version">
3.24
4.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
Expand Down
4 changes: 2 additions & 2 deletions hardware_support.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Hardware support &mdash; CTranslate2 3.24.0 documentation</title>
<title>Hardware support &mdash; CTranslate2 4.0.0 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
Expand Down Expand Up @@ -32,7 +32,7 @@
<a href="index.html" class="icon icon-home"> CTranslate2
</a>
<div class="version">
3.24
4.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Index &mdash; CTranslate2 3.24.0 documentation</title>
<title>Index &mdash; CTranslate2 4.0.0 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
Expand All @@ -31,7 +31,7 @@
<a href="#" class="icon icon-home"> CTranslate2
</a>
<div class="version">
3.24
4.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
Expand Down
Loading

0 comments on commit 3860e93

Please sign in to comment.