Edit model card

Biomedical French to English Neural Machine Translation

Source language: fr
Target language: en
Training dataset: WMT20, Cochrane bilingual parallel corpus, Taus Corona Crisis corpus, Mlia Covid corpus
Development set: Medline 18, Medline 19
Test set: Medline 20
Model: transformer
Pre-processing: SentencePiece

Benchmark

Test set BLEU
Medline20 35.8

How to use this Model?

  • This model can be accessed via git clone:
    git clone https://huggingface.co/SLPG/Biomedical_French_to_English
    
  • You can use Fairseq library to access the model for translations:
    from fairseq.models.transformer import TransformerModel
    
  • Load the model
    model = TransformerModel.from_pretrained('path/to/model')
    
  • Set the model to evaluation mode
    model.eval()
    
  • Perform inference
    input_text = 'Hello, how are you?'
    output_text = model.translate(input_text)
    print(output_text)
    

Citation

If you use our model, kindly cite our paper:

  @inproceedings{xu2021lisn,
  title={LISN@ WMT 2021},
  author={Xu, Jitao and Rauf, Sadaf Abdul and Pham, Minh Quang and Yvon, Fran{\c{c}}ois},
  booktitle={6th Conference on Statistical Machine Translation},
  year={2021}
  }
Downloads last month

-

Downloads are not tracked for this model. How to track
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.