Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] initial implementation to support audio processing as arrays #40

Merged
merged 18 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,24 +42,23 @@ For the default installation, which does **not** include the dependencies for th
pip install -U ferret-xai
```

Our main dependencies are 🤗 `tranformers` and `datasets`.
**Troubleshoothing**

If the speech XAI functionalities are needed, then

```
pip install -U ferret-xai[speech]
```

At the moment, the speech XAI-related dependencies are the only extra ones, so installing with `ferret-xai[speech]` or `ferret-xai[all]` is equivalent.

**Important** Some of our dependencies might use the package name for `scikit-learn` and that breaks ferret installation. \
Some of our dependencies might use the package name for `scikit-learn` and that breaks ferret installation. \
If your pip install command fails, try:

```bash
SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True pip install -U ferret-xai
```

This is hopefully a temporary situation!
### (Optional) Install XAI Speech functionalities

If the speech XAI functionalities are needed, then follow these steps:

1. install the library with: `pip install -U ferret-xai[speech]` or `pip install -U ferret-xai[all]`
2. install whisperX with `pip install git+https://github.com/m-bain/whisperx.git`
3. install system-wide [ffmpeg](https://ffmpeg.org/download.html). If you have no sudo rights, you can try with `conda install conda-forge::ffmpeg`


### Explain & Benchmark

Expand Down
Loading