metalhead-test-data / README.md
CarloLucibello's picture
Publish the test data of Metalhead.jl (#372)
f6141f2 verified
|
Raw History Blame Contribute Delete
759 Bytes
---
license: mit
pretty_name: Metalhead.jl test data
tags:
- julia
- flux
---
# Metalhead.jl test data
The test data of [Metalhead.jl](https://github.com/FluxML/Metalhead.jl), the Flux ports of
Hugging Face Hub models: tiny PyTorch fixtures (random weights and the activations of each
module) and the outputs of real checkpoints, which the tests compare the Julia ports with.
They are written by the scripts of `porting/` in that repository.
Each entry is a tarball named by its sha256, under the path of the entry in `test/`
(`fixtures/resnet_basic/<sha256>.tar.gz`). `test/Artifacts.toml` binds each one as a lazy
Julia artifact, and the tests download it on first use. Files are only ever added, so every
commit of Metalhead.jl keeps its test data.