Commit
•
3fba6b6
1
Parent(s):
5329138
update task name (#1)
Browse files- update task name (adca5ebc6ca186e65554f0893c7bed39eb89ef6e)
Co-authored-by: Merve Noyan <[email protected]>
README.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
---
|
2 |
tags:
|
3 |
-
-
|
4 |
library_name: generic
|
5 |
---
|
6 |
-
#
|
7 |
|
8 |
-
This is a template repository for
|
9 |
1. Specify the requirements by defining a `requirements.txt` file.
|
10 |
2. Implement the `pipeline.py` `__init__` and `__call__` methods. These methods are called by the Inference API. The `__init__` method should load the model and preload all the elements needed for inference (model, processors, tokenizers, etc.). This is only called once. The `__call__` method performs the actual inference. Make sure to follow the same input/output specifications defined in the template for the pipeline to work.
|
11 |
|
@@ -16,7 +16,7 @@ Example repos
|
|
16 |
First create a repo in https://hf.co/new.
|
17 |
Then clone this template and push it to your repo.
|
18 |
```
|
19 |
-
git clone https://huggingface.co/templates/
|
20 |
cd structured-data-classification
|
21 |
git remote set-url origin https://huggingface.co/$YOUR_USER/$YOUR_REPO_NAME
|
22 |
git push --force
|
|
|
1 |
---
|
2 |
tags:
|
3 |
+
- tabular-classification
|
4 |
library_name: generic
|
5 |
---
|
6 |
+
# Tabular Classification repository template
|
7 |
|
8 |
+
This is a template repository for tabular classification to support generic inference with Hugging Face Hub generic Inference API. There are two required steps
|
9 |
1. Specify the requirements by defining a `requirements.txt` file.
|
10 |
2. Implement the `pipeline.py` `__init__` and `__call__` methods. These methods are called by the Inference API. The `__init__` method should load the model and preload all the elements needed for inference (model, processors, tokenizers, etc.). This is only called once. The `__call__` method performs the actual inference. Make sure to follow the same input/output specifications defined in the template for the pipeline to work.
|
11 |
|
|
|
16 |
First create a repo in https://hf.co/new.
|
17 |
Then clone this template and push it to your repo.
|
18 |
```
|
19 |
+
git clone https://huggingface.co/templates/tabular-classification
|
20 |
cd structured-data-classification
|
21 |
git remote set-url origin https://huggingface.co/$YOUR_USER/$YOUR_REPO_NAME
|
22 |
git push --force
|