File size: 1,518 Bytes
5745a21
e094605
39c7a76
e094605
b577e67
4e5c9f4
b577e67
5ce6e22
4e5c9f4
5ca277f
 
 
 
 
20f5e73
767f9bb
b577e67
07bc9ee
20ae1ca
de1a199
 
 
20ae1ca
 
2feff8a
2f974f3
 
 
 
 
 
 
 
 
bef81e0
92dfc1a
 
 
bef81e0
 
 
 
 
 
 
 
 
 
fb2e6b2
2feff8a
 
2ebad5c
92dfc1a
 
2feff8a
 
 
 
92dfc1a
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
pipeline_tag: translation
library_name: transformers
---

### Biomedical French to English Neural Machine Translation

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

## Benchmark

<div style="width: 20%; text-align: left;">

| **Test set**   | **BLEU** |
|----------------|----------|
| Medline20      | 35.8     |

</div>

## 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](https://hal.science/hal-03430610/document)**:
```
  @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}
  }
```