Views
No views yet
lic-class-scancode-bert-base-cased-L32-1scancode-results-analyzer.scancode-results-analyzer helps detect faulty scans in scancode-toolkit by using statistics and nlp modeling, among other tools,
to make Scancode better.scancode-results-analyzer documentation, for installing and getting started.NLPModelsPredict class, function predict_basic_lic_class uses this classifier to
predict sentances as either valid license tags or false positives.bert-base-cased model,
it has the same biases, but as the task it is fine-tuned to is a very specific task
(license text/notice/tag/referance) without those intended biases, it's safe to assume
those don't apply at all here.bert-base-cased model was fine-tuned on Scancode Rule texts, specifically
trained in the context of sentence classification, where the four classes are- License Text
- License Notice
- License Tag
- License Referancescancode-results-analyzer code.NLPModelsTrain class, function prepare_input_data_false_positive prepares the
training data.NLPModelsTrain class, function train_basic_false_positive_classifier fine-tunes
this classifier.