HelpMum-Personal commited on
Commit
433f5f3
·
verified ·
1 Parent(s): d479c36

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -42,8 +42,8 @@ To use this model for translation tasks, you can load it from Hugging Face’s `
42
  from transformers import M2M100ForConditionalGeneration, M2M100Tokenizer
43
 
44
  # Load the fine-tuned model
45
- model = M2M100ForConditionalGeneration.from_pretrained("HelpMum-Personal/AI-translator-eng-to-9ja")
46
- tokenizer = M2M100Tokenizer.from_pretrained("HelpMum-Personal/AI-translator-eng-to-9ja")
47
 
48
  # translate English to Igbo
49
  eng_text="Healthcare is an important field in virtually every society because it directly affects the well-being and quality of life of individuals. It encompasses a wide range of services and professions, including preventive care, diagnosis, treatment, and management of diseases and conditions."
 
42
  from transformers import M2M100ForConditionalGeneration, M2M100Tokenizer
43
 
44
  # Load the fine-tuned model
45
+ model = M2M100ForConditionalGeneration.from_pretrained("HelpMumHQ/AI-translator-eng-to-9ja")
46
+ tokenizer = M2M100Tokenizer.from_pretrained("HelpMumHQ/AI-translator-eng-to-9ja")
47
 
48
  # translate English to Igbo
49
  eng_text="Healthcare is an important field in virtually every society because it directly affects the well-being and quality of life of individuals. It encompasses a wide range of services and professions, including preventive care, diagnosis, treatment, and management of diseases and conditions."