encoder-decoder region:us
---
{}
---
from huggingface_hub import  hf_hub_download

repo_name = "shiv-am-04/En-to-Fr-translator"

model_path = hf_hub_download(repo_id=repo_name,local_dir='/content/downloaded',filename="model.weights.h5")
tokenizer_path_english = hf_hub_download(repo_id=repo_name,local_dir='/content/downloaded',filename="en_tokenizer.json")
tokenizer_path_french = hf_hub_download(repo_id=repo_name,local_dir='/content/downloaded',filename="fr_tokenizer.json")

translation_file = hf_hub_download(repo_id=repo_name,local_dir='/content/downloaded',filename="translate.py")