JensBender commited on
Commit
c3855c5
·
verified ·
1 Parent(s): 6367bd1

Update model card 'README.md' on Hugging Face Hub

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -85,7 +85,8 @@ print(f"Prediction: {prediction}")
85
  ```
86
 
87
  #### Downloading and Using the Pipeline
88
- The pipeline is serialized as a `joblib` file. You can download and use it for inference with the `huggingface_hub` library as shown below. The optimized decision threshold of 0.29 is not part of the pipeline itself and has to be applied in post-processing.
 
89
 
90
  ```python
91
  from huggingface_hub import hf_hub_download
 
85
  ```
86
 
87
  #### Downloading and Using the Pipeline
88
+ You can download the serialized `joblib` pipeline for inference using `huggingface_hub`.
89
+ **Note:** Unlike the API, the pipeline requires a `pandas DataFrame` input and returns probabilities. You must manually apply the optimized decision threshold of `0.29`.
90
 
91
  ```python
92
  from huggingface_hub import hf_hub_download