Skip to content

Commit

Permalink
Deployed ae92f41 with MkDocs version: 1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ixaxaar committed Mar 4, 2024
1 parent 33e8582 commit 22d6de1
Show file tree
Hide file tree
Showing 188 changed files with 11,461 additions and 484 deletions.
42 changes: 42 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,48 @@








<li class="md-nav__item">
<a href="/blog/huggingface/summz/" class="md-nav__link">
Summarization
</a>
</li>









<li class="md-nav__item">
<a href="/blog/huggingface/chat/" class="md-nav__link">
Chat
</a>
</li>









<li class="md-nav__item">
<a href="/blog/huggingface/lm/" class="md-nav__link">
Language Models
</a>
</li>




</ul>
</nav>
</li>
Expand Down
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

58 changes: 57 additions & 1 deletion audio/api/base/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,48 @@








<li class="md-nav__item">
<a href="../../../blog/huggingface/summz/" class="md-nav__link">
Summarization
</a>
</li>









<li class="md-nav__item">
<a href="../../../blog/huggingface/chat/" class="md-nav__link">
Chat
</a>
</li>









<li class="md-nav__item">
<a href="../../../blog/huggingface/lm/" class="md-nav__link">
Language Models
</a>
</li>




</ul>
</nav>
</li>
Expand Down Expand Up @@ -3776,7 +3818,7 @@ <h2 id="geniusrise_audio.base.api.AudioAPI.__init__" class="doc doc-heading">


<h2 id="geniusrise_audio.base.api.AudioAPI.listen" class="doc doc-heading">
<code class="highlight language-python"><span class="n">listen</span><span class="p">(</span><span class="n">model_name</span><span class="p">,</span> <span class="n">model_class</span><span class="o">=</span><span class="s1">&#39;AutoModel&#39;</span><span class="p">,</span> <span class="n">processor_class</span><span class="o">=</span><span class="s1">&#39;AutoProcessor&#39;</span><span class="p">,</span> <span class="n">use_cuda</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">precision</span><span class="o">=</span><span class="s1">&#39;float16&#39;</span><span class="p">,</span> <span class="n">quantization</span><span class="o">=</span><span class="mi">0</span><span class="p">,</span> <span class="n">device_map</span><span class="o">=</span><span class="s1">&#39;auto&#39;</span><span class="p">,</span> <span class="n">max_memory</span><span class="o">=</span><span class="p">{</span><span class="mi">0</span><span class="p">:</span> <span class="s1">&#39;24GB&#39;</span><span class="p">},</span> <span class="n">torchscript</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="nb">compile</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">concurrent_queries</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">use_whisper_cpp</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">endpoint</span><span class="o">=</span><span class="s1">&#39;*&#39;</span><span class="p">,</span> <span class="n">port</span><span class="o">=</span><span class="mi">3000</span><span class="p">,</span> <span class="n">cors_domain</span><span class="o">=</span><span class="s1">&#39;http://localhost:3000&#39;</span><span class="p">,</span> <span class="n">username</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">password</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="o">**</span><span class="n">model_args</span><span class="p">)</span></code>
<code class="highlight language-python"><span class="n">listen</span><span class="p">(</span><span class="n">model_name</span><span class="p">,</span> <span class="n">model_class</span><span class="o">=</span><span class="s1">&#39;AutoModel&#39;</span><span class="p">,</span> <span class="n">processor_class</span><span class="o">=</span><span class="s1">&#39;AutoProcessor&#39;</span><span class="p">,</span> <span class="n">use_cuda</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">precision</span><span class="o">=</span><span class="s1">&#39;float16&#39;</span><span class="p">,</span> <span class="n">quantization</span><span class="o">=</span><span class="mi">0</span><span class="p">,</span> <span class="n">device_map</span><span class="o">=</span><span class="s1">&#39;auto&#39;</span><span class="p">,</span> <span class="n">max_memory</span><span class="o">=</span><span class="p">{</span><span class="mi">0</span><span class="p">:</span> <span class="s1">&#39;24GB&#39;</span><span class="p">},</span> <span class="n">torchscript</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="nb">compile</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">concurrent_queries</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">use_whisper_cpp</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">use_faster_whisper</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">endpoint</span><span class="o">=</span><span class="s1">&#39;*&#39;</span><span class="p">,</span> <span class="n">port</span><span class="o">=</span><span class="mi">3000</span><span class="p">,</span> <span class="n">cors_domain</span><span class="o">=</span><span class="s1">&#39;http://localhost:3000&#39;</span><span class="p">,</span> <span class="n">username</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">password</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="o">**</span><span class="n">model_args</span><span class="p">)</span></code>

<a href="#geniusrise_audio.base.api.AudioAPI.listen" class="headerlink" title="Permanent link">&para;</a></h2>

Expand Down Expand Up @@ -3966,6 +4008,20 @@ <h2 id="geniusrise_audio.base.api.AudioAPI.listen" class="doc doc-heading">
<code>False</code>
</td>
</tr>
<tr>
<td><code>use_faster_whisper</code></td>
<td>
<code>bool</code>
</td>
<td>
<div class="doc-md-description">
<p>Whether to use faster-whisper.</p>
</div>
</td>
<td>
<code>False</code>
</td>
</tr>
<tr>
<td><code>endpoint</code></td>
<td>
Expand Down
171 changes: 171 additions & 0 deletions audio/api/s2t/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,48 @@








<li class="md-nav__item">
<a href="../../../blog/huggingface/summz/" class="md-nav__link">
Summarization
</a>
</li>









<li class="md-nav__item">
<a href="../../../blog/huggingface/chat/" class="md-nav__link">
Chat
</a>
</li>









<li class="md-nav__item">
<a href="../../../blog/huggingface/lm/" class="md-nav__link">
Language Models
</a>
</li>




</ul>
</nav>
</li>
Expand Down Expand Up @@ -1191,6 +1233,13 @@
initialize_pipeline()
</a>

</li>

<li class="md-nav__item">
<a href="#geniusrise_audio.s2t.api.SpeechToTextAPI.process_faster_whisper" class="md-nav__link">
process_faster_whisper()
</a>

</li>

<li class="md-nav__item">
Expand Down Expand Up @@ -3490,6 +3539,13 @@
initialize_pipeline()
</a>

</li>

<li class="md-nav__item">
<a href="#geniusrise_audio.s2t.api.SpeechToTextAPI.process_faster_whisper" class="md-nav__link">
process_faster_whisper()
</a>

</li>

<li class="md-nav__item">
Expand Down Expand Up @@ -3844,6 +3900,121 @@ <h2 id="geniusrise_audio.s2t.api.SpeechToTextAPI.initialize_pipeline" class="doc



<h2 id="geniusrise_audio.s2t.api.SpeechToTextAPI.process_faster_whisper" class="doc doc-heading">
<code class="highlight language-python"><span class="n">process_faster_whisper</span><span class="p">(</span><span class="n">audio_input</span><span class="p">,</span> <span class="n">model_sampling_rate</span><span class="p">,</span> <span class="n">chunk_size</span><span class="p">,</span> <span class="n">generate_args</span><span class="p">)</span></code>

<a href="#geniusrise_audio.s2t.api.SpeechToTextAPI.process_faster_whisper" class="headerlink" title="Permanent link">&para;</a></h2>


<div class="doc doc-contents ">

<p>Processes audio input with the faster-whisper model.</p>



<p><strong>Parameters:</strong></p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>audio_input</code></td>
<td>
<code>bytes</code>
</td>
<td>
<div class="doc-md-description">
<p>The audio input for transcription.</p>
</div>
</td>
<td>
<em>required</em>
</td>
</tr>
<tr>
<td><code>model_sampling_rate</code></td>
<td>
<code>int</code>
</td>
<td>
<div class="doc-md-description">
<p>The sampling rate of the model.</p>
</div>
</td>
<td>
<em>required</em>
</td>
</tr>
<tr>
<td><code>chunk_size</code></td>
<td>
<code>int</code>
</td>
<td>
<div class="doc-md-description">
<p>The size of audio chunks to process.</p>
</div>
</td>
<td>
<em>required</em>
</td>
</tr>
<tr>
<td><code>generate_args</code></td>
<td>
<code><span title="typing.Dict">Dict</span>[str, <span title="typing.Any">Any</span>]</code>
</td>
<td>
<div class="doc-md-description">
<p>Additional arguments for transcription.</p>
</div>
</td>
<td>
<em>required</em>
</td>
</tr>
</tbody>
</table>



<p><strong>Returns:</strong></p>
<table>
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<code><span title="typing.Dict">Dict</span>[str, <span title="typing.Any">Any</span>]</code>
</td>
<td>
<div class="doc-md-description">
<p>Dict[str, Any]: A dictionary containing the transcription results.</p>
</div>
</td>
</tr>
</tbody>
</table>

</div>

</div>


<div class="doc doc-object doc-function">



<h2 id="geniusrise_audio.s2t.api.SpeechToTextAPI.process_seamless" class="doc doc-heading">
<code class="highlight language-python"><span class="n">process_seamless</span><span class="p">(</span><span class="n">audio_input</span><span class="p">,</span> <span class="n">model_sampling_rate</span><span class="p">,</span> <span class="n">processor_args</span><span class="p">,</span> <span class="n">chunk_size</span><span class="p">,</span> <span class="n">overlap_size</span><span class="p">,</span> <span class="n">generate_args</span><span class="p">)</span></code>

Expand Down
42 changes: 42 additions & 0 deletions audio/api/t2s/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,48 @@








<li class="md-nav__item">
<a href="../../../blog/huggingface/summz/" class="md-nav__link">
Summarization
</a>
</li>









<li class="md-nav__item">
<a href="../../../blog/huggingface/chat/" class="md-nav__link">
Chat
</a>
</li>









<li class="md-nav__item">
<a href="../../../blog/huggingface/lm/" class="md-nav__link">
Language Models
</a>
</li>




</ul>
</nav>
</li>
Expand Down
Loading

0 comments on commit 22d6de1

Please sign in to comment.