fairseq icon indicating copy to clipboard operation
fairseq copied to clipboard

Training a model with a custom FairseqDataset implementation

Open sidharthrajaram opened this issue 2 years ago • 0 comments

❓ Questions and Help

Before asking:

  • [x] search the issues.
  • [x] search the docs.

What is your question?

I have extended FairseqDataset and created a custom dataset implementation. How do I use this custom implementation to train against some particular model architecture using fairseq-train?

What have you tried?

Read the docs regarding Tasks and have a feeling that's the direction to go. Still curious about the extent to which the CLI tool fairseq-train can be used.

What's your environment?

  • fairseq Version (e.g., 1.0 or main): main
  • PyTorch Version (e.g., 1.0): 2.2.2
  • OS (e.g., Linux): Ubuntu 20.04
  • How you installed fairseq (pip, source): source
  • Build command you used (if compiling from source): pip installed from source as described in README.
  • Python version: 3.10
  • CUDA/cuDNN version: CUDA 11.8

sidharthrajaram avatar Apr 24 '24 01:04 sidharthrajaram