Instructions to use jkot/transormer_en_cs_translator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use jkot/transormer_en_cs_translator with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://jkot/transormer_en_cs_translator") - Notebooks
- Google Colab
- Kaggle
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
To train model and run evaluation:
Download and extract the europarl cs_en from https://www.statmt.org/europarl/ to datasets/europarl/ folder
Install requirements using pip install -r requirements.txt
Run scripts in order create_dataset_splits.py, train_tokenizers.py, preprocess_dataset.py, train.py and eval.py
In the models folder, there is already trained model in .keras format and there are also dataset splits and pretrained tokenizers, so you can run evaluation directly
- Downloads last month
- -
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support