Run this model with HF Jobs
Run DarkSting/tea_backend on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/DarkSting/tea_backend. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/DarkSting/tea_backend on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use DarkSting/tea_backend with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use DarkSting/tea_backend with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://DarkSting/tea_backend") - Notebooks
- Google Colab
- Kaggle
Upload model_download.py with huggingface_hub
Browse files12345678910111213141516from huggingface_hub import snapshot_download
import os
HF_REPO = os.getenv("HF_REPO_ID", "DarkSting/tea_backend")
HF_TOKEN = os.getenv("HF_TOKEN", None)
print(f"Downloading files from {HF_REPO}...")
snapshot_download(
repo_id=HF_REPO,
repo_type="model", # or "dataset" depending on where you uploaded
local_dir="/app", # downloads into /app matching your structure
token=HF_TOKEN
)
print("Download complete.")model_download.pyAdded+16