Instructions to use Sag1012/machine-translation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Sag1012/machine-translation with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://Sag1012/machine-translation") - Notebooks
- Google Colab
- Kaggle
File size: 161 Bytes
7f6df3c | 1 2 3 4 5 6 7 8 9 | {
"bos_token_id": 0,
"decoder_start_token_id": 2,
"eos_token_id": 2,
"forced_eos_token_id": 2,
"pad_token_id": 1,
"transformers_version": "4.46.3"
}
|