├── .gitignore ├── LICENSE ├── README.md ├── SECURITY.md └── language_model ├── dataset.py ├── evaluate.py ├── model.py ├── model_tf1.py ├── model_tf2.py ├── model_torch.py ├── predict.py ├── requirements.txt ├── test_step2.py ├── test_step3.py ├── test_step4.py └── train.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/machine-learning-for-programming-samples/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/machine-learning-for-programming-samples/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/machine-learning-for-programming-samples/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/machine-learning-for-programming-samples/HEAD/SECURITY.md -------------------------------------------------------------------------------- /language_model/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/machine-learning-for-programming-samples/HEAD/language_model/dataset.py -------------------------------------------------------------------------------- /language_model/evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/machine-learning-for-programming-samples/HEAD/language_model/evaluate.py -------------------------------------------------------------------------------- /language_model/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/machine-learning-for-programming-samples/HEAD/language_model/model.py -------------------------------------------------------------------------------- /language_model/model_tf1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/machine-learning-for-programming-samples/HEAD/language_model/model_tf1.py -------------------------------------------------------------------------------- /language_model/model_tf2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/machine-learning-for-programming-samples/HEAD/language_model/model_tf2.py -------------------------------------------------------------------------------- /language_model/model_torch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/machine-learning-for-programming-samples/HEAD/language_model/model_torch.py -------------------------------------------------------------------------------- /language_model/predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/machine-learning-for-programming-samples/HEAD/language_model/predict.py -------------------------------------------------------------------------------- /language_model/requirements.txt: -------------------------------------------------------------------------------- 1 | dpu-utils 2 | numpy 3 | more_itertools 4 | docopt 5 | -------------------------------------------------------------------------------- /language_model/test_step2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/machine-learning-for-programming-samples/HEAD/language_model/test_step2.py -------------------------------------------------------------------------------- /language_model/test_step3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/machine-learning-for-programming-samples/HEAD/language_model/test_step3.py -------------------------------------------------------------------------------- /language_model/test_step4.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/machine-learning-for-programming-samples/HEAD/language_model/test_step4.py -------------------------------------------------------------------------------- /language_model/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/machine-learning-for-programming-samples/HEAD/language_model/train.py --------------------------------------------------------------------------------