Downloads · 30 days
16
8% of all-time downloads
shiv-am-04/En-to-Fr-translator
En-to-Fr-translator is a machine learning model from shiv-am-04. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
from huggingfacehub import hfhubdownload
Downloads · 30 days
16
8% of all-time downloads
All-time downloads
205
Public
Repo size
1.1 GB
Likes
0
Public
Click a slice to open those files.
.h5553 MB · 99%
From the Hugging Face model README
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")