# Pre-trained model

## To get started

First things first, I would like to create a virtual environment.

Here is my code:

```
# I have already made an environment in my anaconda, so I just need to open it.
$ cd /anaconda3/envs/deepspeech-venv
$ source ./lib/python3.6/venv/scripts/common/activate      
```

{% hint style="info" %}
&#x20;These codes vary from person to person.
{% endhint %}

Once you have created the environment. You can install the packages.

{% code title="" %}

```bash
$ pip install deepspeech-gpu
```

{% endcode %}

```bash
# Download pre-trained English model files
curl -LO https://github.com/mozilla/DeepSpeech/releases/download/v0.7.3/deepspeech-0.7.3-models.pbmm
curl -LO https://github.com/mozilla/DeepSpeech/releases/download/v0.7.3/deepspeech-0.7.3-models.scorer

# Download example audio files
curl -LO https://github.com/mozilla/DeepSpeech/releases/download/v0.7.3/audio-0.7.3.tar.gz
tar xvf audio-0.7.3.tar.gz

# Transcribe an audio file
deepspeech --model deepspeech-0.7.3-models.pbmm --scorer deepspeech-0.7.3-models.scorer --audio audio/2830-3980-0043.wav
```

## Done!

![](/files/-M9DsOBhldLnuvv3n8J4)

![Yeah! These are what I get !](/files/-M9DsKnyVnCWbFuT3KE0)

## Exit

```bash
deactivate
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wenjia-s.gitbook.io/voice-to-text-project/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
