DAPPER (Document Analysis, Processing, and Pattern Extraction Repository)
Statistical Learning Final Project for Document Classification
 
Loading...
Searching...
No Matches
classification.download_lsnet Namespace Reference

Functions

 parse_args ()
 
 download_file (url, output_path)
 
 main ()
 

Variables

 level
 
 format
 
 logger = logging.getLogger(__name__)
 

Detailed Description

Download pre-trained LSNet models from Hugging Face.

This script downloads pre-trained LSNet models from Hugging Face and saves them locally.

Function Documentation

◆ download_file()

classification.download_lsnet.download_file (   url,
  output_path 
)
Download a file from a URL.

◆ main()

classification.download_lsnet.main ( )
Main function.

◆ parse_args()

classification.download_lsnet.parse_args ( )
Parse command line arguments.

Variable Documentation

◆ format

classification.download_lsnet.format

◆ level

classification.download_lsnet.level

◆ logger

classification.download_lsnet.logger = logging.getLogger(__name__)