{"library":"seahorse","title":"Seahorse","description":"Seahorse is a Pytorch-based library for constructing and training large-scale transformer language models, providing tools for distributed training, model parallelism, and efficient memory usage. Currently at version 1.2.3, with active development.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install seahorse"],"cli":null},"imports":["from seahorse import SeaModel"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import torch\nfrom seahorse import SeaModel\nmodel = SeaModel.from_pretrained('seahorse-base')\ninputs = torch.randint(0, 1000, (1, 512))\noutputs = model(inputs)\nprint(outputs.shape)","lang":"python","description":"Load a pre-trained Seahorse model and run a forward pass.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}