HelpMum-Personal
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -41,6 +41,10 @@ To use this model for translation tasks, you can load it from Hugging Face’s `
|
|
41 |
```python
|
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")
|
|
|
41 |
```python
|
42 |
from transformers import M2M100ForConditionalGeneration, M2M100Tokenizer
|
43 |
|
44 |
+
import huggingface_hub
|
45 |
+
huggingface_hub.login()
|
46 |
+
|
47 |
+
|
48 |
# Load the fine-tuned model
|
49 |
model = M2M100ForConditionalGeneration.from_pretrained("HelpMumHQ/AI-translator-eng-to-9ja")
|
50 |
tokenizer = M2M100Tokenizer.from_pretrained("HelpMumHQ/AI-translator-eng-to-9ja")
|