Instructions to use Oneway1980/Bethany with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use Oneway1980/Bethany with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("<base-model-id>") model.load_adapter("Oneway1980/Bethany", set_active=True) - Notebooks
- Google Colab
- Kaggle
Download docker-entrypoint.sh from Oneway1980/Bethany: direct link, hf CLI and curl.
- Browser
- Download file 247 Bytes
-
https://huggingface.co/Oneway1980/Bethany/resolve/main/docker-entrypoint.sh
- Command line
-
hf download hf://Oneway1980/Bethany/docker-entrypoint.sh
-
curl -L -o docker-entrypoint.sh https://huggingface.co/Oneway1980/Bethany/resolve/main/docker-entrypoint.sh
247 Bytes
| source ~/.bashrc | |
| echo "running docker-entrypoint.sh" | |
| conda activate container | |
| echo $KUBE_GOOGLE_CLOUD_TPU_ENDPOINTS | |
| echo "printed TPU info" | |
| export XRT_TPU_CONFIG="tpu_worker;0;${KUBE_GOOGLE_CLOUD_TPU_ENDPOINTS:7}" | |
| exec "$@"#!/bin/bash | |