uvci/Koumankan_mt_dyu_fr
Viewer • Updated • 10.9k • 9 • 13
How to use Adeptschneider/dyula-to-french-nmt-tensorflow with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy)
# See https://github.com/keras-team/tf-keras for more details.
from huggingface_hub import from_pretrained_keras
model = from_pretrained_keras("Adeptschneider/dyula-to-french-nmt-tensorflow")
This modelcard aims to provide information on how the Dyula to French machine translation built using Tf-Keras
For more information concerning the model check the following notebook implementation
translator which should contain the Huggingface repo model weights and assets.import tensorflow as tf
reloaded = tf.saved_model.load('translator')
reloaded("a y'a dabla ka yɛlɛ n na").numpy()
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy) # See https://github.com/keras-team/tf-keras for more details. from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("Adeptschneider/dyula-to-french-nmt-tensorflow")