albertleigh/az-logic-apps-dataset
Viewer • Updated • 14.9k • 16
This model has been pushed to the Hub using the PytorchModelHubMixin integration:
Classify whether text is an Azure Logic App expression:
python clis/run_bert_model.py
Example Session:
Loading model... ✓
============================================================
AzLgcExp BERT Classifier - Interactive CLI
============================================================
> @{body('Parse_JSON')?['content']?['main_text']}
============================================================
Result: Azure Logic App Expression
============================================================
Non-Azure Logic App: 0.0006 (0.06%)
Azure Logic App: 0.9994 (99.94%)
> tokenizer(text, return_tensors='pt')
============================================================
Result: Non-Azure Logic App Expression
============================================================
Non-Azure Logic App: 0.9831 (98.31%)
Azure Logic App: 0.0169 (1.69%)
Repo: Available on Github https://github.com/albertleigh/az-lgc-finetuned
Base model
google-bert/bert-base-uncased