mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-12-16 02:08:55 +08:00
Update README.md
This commit is contained in:
@@ -56,7 +56,7 @@ logits = result["logits"] # Shape: (batch, length, vocab_size)
|
|||||||
|
|
||||||
### Masked Language Modeling
|
### Masked Language Modeling
|
||||||
|
|
||||||
```python
|
```bash
|
||||||
# For a complete example, see main.py
|
# For a complete example, see main.py
|
||||||
python main.py --sequence "YOUR_SEQUENCE" --mask-position 50
|
python main.py --sequence "YOUR_SEQUENCE" --mask-position 50
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user