Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 681 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 681 Bytes

Safetensors in Go

Features

  • Performance and Memory efficient, including benchmarks. 0.25ms to decode GPT2.
  • Keep the tensor ordering as specified in the safetensors file.
  • Simple API

See whole documentation at Go Reference

codecov

Credits

This package is inspired on the work of the NLP Odyssey Authors, which was itself inspired by Hugging Face's original Rust implementation.