Instructions to use IndexTeam/Index-Echo-S2ST-9B-FP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IndexTeam/Index-Echo-S2ST-9B-FP4 with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("translation", model="IndexTeam/Index-Echo-S2ST-9B-FP4")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("IndexTeam/Index-Echo-S2ST-9B-FP4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download code/ja_ext/deprecated/__init__.py from IndexTeam/Index-Echo-S2ST-9B-FP4: direct link, hf CLI and curl.
- Browser
- Download file 398 Bytes
-
https://huggingface.co/IndexTeam/Index-Echo-S2ST-9B-FP4/resolve/main/code/ja_ext/deprecated/__init__.py
- Command line
-
hf download hf://IndexTeam/Index-Echo-S2ST-9B-FP4/code/ja_ext/deprecated/__init__.py
-
curl -L -o __init__.py https://huggingface.co/IndexTeam/Index-Echo-S2ST-9B-FP4/resolve/main/code/ja_ext/deprecated/__init__.py
398 Bytes
| # -*- coding: utf-8 -*- | |
| """ | |
| Deprecated Library | |
| ================== | |
| Python ``@deprecated`` decorator to deprecate old python classes, functions or methods. | |
| """ | |
| __version__ = "1.3.1" | |
| __author__ = u"Laurent LAPORTE <laurent.laporte.pro@gmail.com>" | |
| __date__ = "2025-10-30" | |
| __credits__ = "(c) Laurent LAPORTE" | |
| from deprecated.classic import deprecated | |
| from deprecated.params import deprecated_params | |