alpha2002 commited on
Commit
9038a52
·
verified ·
1 Parent(s): feca94b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -49,6 +49,7 @@ leading to potential biases or inaccuracies when applied to unseen or diverse da
49
 
50
  Use the code below to get started with the model.
51
 
 
52
  from transformers import pipeline
53
 
54
  # Initialize the translation pipeline
@@ -58,7 +59,7 @@ pipe = pipeline("translation", model="alpha2002/eng_alpha_darija", tokenizer="al
58
  input_text = "Hello, how are you?"
59
  translation = pipe(input_text, src_lang="en_XX", tgt_lang="ar_AR")
60
 
61
- print("Translation:", translation[0]['translation_text'])
62
 
63
  ## Training Details
64
 
 
49
 
50
  Use the code below to get started with the model.
51
 
52
+ ```python
53
  from transformers import pipeline
54
 
55
  # Initialize the translation pipeline
 
59
  input_text = "Hello, how are you?"
60
  translation = pipe(input_text, src_lang="en_XX", tgt_lang="ar_AR")
61
 
62
+ print("Translation:", translation[0]['translation_text']) ```
63
 
64
  ## Training Details
65