lysandre HF staff commited on
Commit
4c20621
1 Parent(s): ce6aaaa

Upload tool

Browse files
Files changed (3) hide show
  1. model_downloads.py +1 -1
  2. requirements.txt +1 -1
  3. tool_config.json +1 -1
model_downloads.py CHANGED
@@ -3,7 +3,7 @@ from huggingface_hub import list_models
3
 
4
 
5
  class HFModelDownloadsTool(Tool):
6
- name = 'model_download)counter'
7
  description = (
8
  "This is a tool that returns the most downloaded model of a given task on the Hugging Face Hub. "
9
  "It takes the name of the category (such as text-classification, depth-estimation, etc), and "
 
3
 
4
 
5
  class HFModelDownloadsTool(Tool):
6
+ name = 'model_download_counter'
7
  description = (
8
  "This is a tool that returns the most downloaded model of a given task on the Hugging Face Hub. "
9
  "It takes the name of the category (such as text-classification, depth-estimation, etc), and "
requirements.txt CHANGED
@@ -1,2 +1,2 @@
1
- git+https://github.com/huggingface/transformers@test_composition
2
  huggingface_hub
 
1
+ transformers
2
  huggingface_hub
tool_config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
  "description": "This is a tool that returns the most downloaded model of a given task on the Hugging Face Hub. It takes the name of the category (such as text-classification, depth-estimation, etc), and returns the name of the checkpoint alongside its 30-day download numbers.",
3
- "name": "model_download)counter",
4
  "tool_class": "model_downloads.HFModelDownloadsTool"
5
  }
 
1
  {
2
  "description": "This is a tool that returns the most downloaded model of a given task on the Hugging Face Hub. It takes the name of the category (such as text-classification, depth-estimation, etc), and returns the name of the checkpoint alongside its 30-day download numbers.",
3
+ "name": "model_download_counter",
4
  "tool_class": "model_downloads.HFModelDownloadsTool"
5
  }