Translation
Keras
Khmer
bigru-additive-attention-seq2seq
transliteration
khmer
romanization
seq2seq
gru
attention
Eval Results (legacy)
Instructions to use Netra-Lab/AkaraAlpha with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Netra-Lab/AkaraAlpha 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://Netra-Lab/AkaraAlpha") - Notebooks
- Google Colab
- Kaggle
File size: 1,745 Bytes
d728d26 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | {
"latin": {
"word_index": {
"<unk>": 1,
"a": 2,
"o": 3,
"h": 4,
"e": 5,
"n": 6,
"r": 7,
"k": 8,
"t": 9,
"u": 10,
"s": 11,
"m": 12,
"b": 13,
"i": 14,
"c": 15,
"p": 16,
"l": 17,
"g": 18,
"y": 19,
"v": 20,
"d": 21,
"j": 22,
"z": 23,
"f": 24,
"w": 25,
"x": 26,
"q": 27
},
"max_len": 25
},
"khmer": {
"word_index": {
"<unk>": 1,
"แ": 2,
"แถ": 3,
"แ": 4,
"แ": 5,
"แ": 6,
"แ": 7,
"แ": 8,
"แ": 9,
"แ": 10,
"แ": 11,
"แท": 12,
"แ": 13,
"แข": 14,
"แ
": 15,
"แป": 16,
"แ": 17,
"แ": 18,
"แ": 19,
"แ": 20,
"แ": 21,
"แ": 22,
"แ ": 23,
"แ": 24,
"แ": 25,
"แ": 26,
"แ": 27,
"แธ": 28,
"แ": 29,
"แ": 30,
"แผ": 31,
"แ": 32,
"แ": 33,
"แ": 34,
"แ": 35,
"แ": 36,
"แพ": 37,
"แ": 38,
"แ": 39,
"แน": 40,
"แฝ": 41,
"แก": 42,
"แ": 43,
"แ": 44,
"แ": 45,
"แ": 46,
"แ": 47,
"แ": 48,
"แ": 49,
"แ": 50,
"แ": 51,
"แ": 52,
"แบ": 53,
"แ": 54,
"แ": 55,
"แง": 56,
"แ
": 57,
"แ": 58,
"แ": 59,
"แ": 60,
"แฟ": 61,
"แฅ": 62,
"แฑ": 63,
"แซ": 64,
"แฏ": 65,
"แ": 66,
"แ": 67,
"แ": 68,
"แช": 69,
"แฉ": 70,
"แฒ": 71,
"แฆ": 72,
"แฎ": 73,
"แฐ": 74,
"แณ": 75,
"แ": 76,
"แญ": 77,
"แฌ": 78,
"\t": 79,
"\n": 80
},
"max_len": 24
},
"padding_id": 0,
"start_token": "\t",
"end_token": "\n",
"oov_token": "<unk>"
} |