Download config/textclassifier_inference_cc_safe.yaml from mlfoundations-dev/textclassifier_inference_cc_safe: direct link, hf CLI and curl.
- Browser
- Download file 575 Bytes
-
https://huggingface.co/datasets/mlfoundations-dev/textclassifier_inference_cc_safe/resolve/main/config/textclassifier_inference_cc_safe.yaml
- Command line
-
hf download hf://datasets/mlfoundations-dev/textclassifier_inference_cc_safe/config/textclassifier_inference_cc_safe.yaml
-
curl -L -o textclassifier_inference_cc_safe.yaml https://huggingface.co/datasets/mlfoundations-dev/textclassifier_inference_cc_safe/resolve/main/config/textclassifier_inference_cc_safe.yaml
575 Bytes
| operators: | |
| - id: create_urls | |
| config: | |
| type: function | |
| function: data_strategies.32b_exploit.seed_pdf_parser.utils.download_digital_corpora | |
| function_config: | |
| urls: | |
| - "https://digitalcorpora.s3.amazonaws.com/corpora/files/CC-MAIN-2021-31-PDF-UNTRUNCATED/zipfiles/0000-0999/0000.zip" | |
| - id: classify_fasttext | |
| config: | |
| type: fasttext | |
| hf_repo_id: mlfoundations-dev/science_pdf_fasttext_classifier_v1 | |
| input_column: text | |
| target_label: "__label__QA_doc" | |
| filter_threshold: 0.5 | |
| input_ids: | |
| - create_urls |