rbawden commited on
Commit
1234091
·
1 Parent(s): ffd5b6d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -4
README.md CHANGED
@@ -21,10 +21,7 @@ The model is to be used with the custom pipeline available in in the original re
21
  ```
22
  tokeniser = AutoTokenizer.from_pretrained("rbawden/modern_french_normalisation")
23
  model = AutoModelForSeq2SeqLM.from_pretrained("rbawden/modern_french_normalisation")
24
- norm_pipeline = NormalisationPipeline(model=model,
25
- tokenizer=tokeniser,
26
- batch_size=batch_size,
27
- beam_size=beam_size)
28
 
29
  list_inputs = ["Elle haïſſoit particulierement le Cardinal de Lorraine;", "Adieu, i'iray chez vous tantoſt vous rendre grace."]
30
  list_outputs = norm_pipeline(list_inputs)
 
21
  ```
22
  tokeniser = AutoTokenizer.from_pretrained("rbawden/modern_french_normalisation")
23
  model = AutoModelForSeq2SeqLM.from_pretrained("rbawden/modern_french_normalisation")
24
+ norm_pipeline = NormalisationPipeline(model=model, tokenizer=tokeniser, batch_size=batch_size,beam_size=beam_size)
 
 
 
25
 
26
  list_inputs = ["Elle haïſſoit particulierement le Cardinal de Lorraine;", "Adieu, i'iray chez vous tantoſt vous rendre grace."]
27
  list_outputs = norm_pipeline(list_inputs)