davanstrien HF Staff commited on
Commit
611f9d7
·
verified ·
1 Parent(s): 755bfd4

Sync from GitHub via hub-sync

Browse files
Files changed (1) hide show
  1. classify-dataset.py +9 -1
classify-dataset.py CHANGED
@@ -1,7 +1,7 @@
1
  # /// script
2
  # requires-python = ">=3.10"
3
  # dependencies = [
4
- # "datasets",
5
  # "httpx",
6
  # "huggingface-hub",
7
  # "setuptools",
@@ -10,6 +10,14 @@
10
  # "transformers",
11
  # "vllm>=0.11.0",
12
  # ]
 
 
 
 
 
 
 
 
13
  # ///
14
  """
15
  Batch text classification using vLLM for efficient GPU inference.
 
1
  # /// script
2
  # requires-python = ">=3.10"
3
  # dependencies = [
4
+ # "datasets>=4.0.0",
5
  # "httpx",
6
  # "huggingface-hub",
7
  # "setuptools",
 
10
  # "transformers",
11
  # "vllm>=0.11.0",
12
  # ]
13
+ #
14
+ # [tool.hf-jobs]
15
+ # image = "vllm/vllm-openai:v0.32.0"
16
+ # python = "/usr/bin/python3"
17
+ # env = { PYTHONPATH = "/usr/local/lib/python3.12/dist-packages" }
18
+ # flavor = "l4x1"
19
+ # secrets = ["HF_TOKEN"]
20
+ # timeout = "1h"
21
  # ///
22
  """
23
  Batch text classification using vLLM for efficient GPU inference.