Metadata-Version: 2.1
Name: cog-hf-template
Version: 0.0.3
Summary: Cog template for Hugging Face.
Author: Nathan Raw
Author-email: naterawdata@gmail.com
License: Apache
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: cog
Requires-Dist: torch ==2.0.1
Requires-Dist: transformers ==4.33.2
Requires-Dist: sentencepiece ==0.1.99
Requires-Dist: accelerate ==0.22.0
Requires-Dist: scipy ==1.10.1
Requires-Dist: protobuf ==3.20.3
Requires-Dist: Pillow ==10.0.0
Requires-Dist: torchvision ==0.15.2
Requires-Dist: bitsandbytes ==0.41.1
Requires-Dist: sentence-transformers ==2.2.2

# cog-huggingface-template

Tools to help deploy Hugging Face models to replicate.


## Requirements

- GPU environment
- [Cog](https://cog.run)

## Installation

### PyPI Install

```
pip install cog_hf_template
```

### Dev Install

Clone the repo:

```
git clone https://github.com/replicate/cog-huggingface-template
cd cog-huggingface-template
pip install -e .
```

Run tests

```
pip install pytest
```

```
pytest -vv tests
```

## Usage

For now, see the [examples directory](examples) for a working example.
