mirror of
https://github.com/huggingface/candle.git
synced 2025-06-21 12:20:46 +00:00

- Moved around book from `examples` to `candle-book` proper (overlapping the book and the lib structures)
11 lines
336 B
Markdown
11 lines
336 B
Markdown
# MNIST
|
|
|
|
So we now have downloaded the MNIST parquet files, let's put them in a simple struct.
|
|
|
|
```rust,ignore
|
|
{{#include ../lib.rs:book_training_3}}
|
|
```
|
|
|
|
The parsing of the file and putting it into single tensors requires the dataset to fit the entire memory.
|
|
It is quite rudimentary, but simple enough for a small dataset like MNIST.
|