mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-09-02 13:40:48 +08:00
fix readme
This commit is contained in:
15
README.md
15
README.md
@@ -1,14 +1,3 @@
|
|||||||
# Transformer LM
|
# mlx-examples
|
||||||
|
|
||||||
This is an example of a decoder-only Transformer LM. The only dependency is
|
Examples using the MLX framework.
|
||||||
MLX.
|
|
||||||
|
|
||||||
Run the example on the GPU with:
|
|
||||||
|
|
||||||
```
|
|
||||||
python main.py --gpu
|
|
||||||
```
|
|
||||||
|
|
||||||
By default the dataset is the [PTB corpus](https://paperswithcode.com/dataset/penn-treebank). Choose a different dataset with the `--dataset` option.
|
|
||||||
|
|
||||||
To run the PyTorch, Jax or TensorFlowexamples install the respective framework.
|
|
||||||
|
Reference in New Issue
Block a user