This folder contains a native fairseq2 checkpoint exported from the training run in this notebook.
## Required files and directories
- `model/pp_00/tp_00/sdp_00.pt` (native fairseq2 checkpoint shard)
- `training_config.yaml` (training config used)
- `dataset_card.yaml` (dataset card used)
- `README.md` (this file)
## Local loading (recommended)
1. Ensure these paths exist:
- `{assets_dir}/sw_data_ctc_local.yaml`
- `{export_dir}/model/pp_00/tp_00/sdp_00.pt`
2. Set the asset directory:
```bash
export FAIRSEQ2_USER_ASSET_DIR="{assets_dir}"
```
3. Run inference:
```python
import torch
from omnilingual_asr.models.inference.pipeline import ASRInferencePipeline
device = "cuda" if torch.cuda.is_available() else "cpu"
dtype = torch.bfloat16 if device == "cuda" else torch.float32
pipeline = ASRInferencePipeline(model_card="sw_data_ctc_local", device=device, dtype=dtype)
preds = pipeline.transcribe(["/path/to/audio.wav"], batch_size=1)
print(preds[0])
```
## Notes
- The checkpoint is in *native fairseq2* format (directory-based).
- If you re-export a new checkpoint, overwrite the `model/` directory and update the asset card.
Model card name: sw_data_ctc_local
Model directory: /home/eo/Workspace/OMNI/sw_data_ctc_export/model
Training config: /home/eo/Workspace/OMNI/sw_data_ctc_export/training_config.yaml
Dataset card: /home/eo/Workspace/OMNI/sw_data_ctc_export/dataset_card.yaml
Source step: /home/eo/Workspace/OMNI/omnilingual-asr/outputs/sw_data_ctc/ws_1.a16ae016/checkpoints/step_2000
Asset card: /home/eo/Workspace/OMNI/fairseq2_assets/sw_data_ctc_local.yaml
Runs of eolang sw_data_ctc on huggingface.co
0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About sw_data_ctc huggingface.co Model
sw_data_ctc huggingface.co
sw_data_ctc huggingface.co is an AI model on huggingface.co that provides sw_data_ctc's model effect (), which can be used instantly with this eolang sw_data_ctc model. huggingface.co supports a free trial of the sw_data_ctc model, and also provides paid use of the sw_data_ctc. Support call sw_data_ctc model through api, including Node.js, Python, http.
sw_data_ctc huggingface.co is an online trial and call api platform, which integrates sw_data_ctc's modeling effects, including api services, and provides a free online trial of sw_data_ctc, you can try sw_data_ctc online for free by clicking the link below.
eolang sw_data_ctc online free url in huggingface.co:
sw_data_ctc is an open source model from GitHub that offers a free installation service, and any user can find sw_data_ctc on GitHub to install. At the same time, huggingface.co provides the effect of sw_data_ctc install, users can directly use sw_data_ctc installed effect in huggingface.co for debugging and trial. It also supports api for free installation.