Skip to content

Commit

Permalink
new demos (#833)
Browse files Browse the repository at this point in the history
  • Loading branch information
agsfer authored Dec 21, 2023
1 parent fbfa009 commit cba80d0
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 20 deletions.
2 changes: 1 addition & 1 deletion docs/_includes/demos/demoitem.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{%- include snippets/get-nav-url.html path=child.image.src -%}
{%- assign _item_image_src = __return -%}

<div class="tab-item-top">
<div class="tab-item-top df">
{%- if child.image.is_row -%}
{%- endif -%}
<figure class="tab_fig_blue">
Expand Down
19 changes: 0 additions & 19 deletions docs/_includes/scripts/programmingLanguageSwitcherScalaPython.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,32 +112,13 @@ tabs({
tabsContentSelector: '.tabs-item',
activeClass: 'tabheader_active'
});




/* tabs({
tabsWrapperSelector: '.tabs-box',
tabsParentSelector: '.tabs-python-scala-head',
tabsSelector: '.tab-python-scala-li',
tabsContentSelector: '.tabs-box .highlighter-rouge',
activeClass: 'tabheader_active'
}); */
/* tabs({
tabsWrapperSelector: '.tabs-box',
tabsParentSelector: '.tabs-model-aproach-head',
tabsSelector: '.tab-li-model-aproach',
tabsContentSelector: '.tabs-python-scala-box',
activeClass: 'tabheader_active'
}); */
tabs({
tabsWrapperSelector: '.tabs-box',
tabsParentSelector: '.tabs-model-aproach-head',
tabsSelector: '.tab-li-model-aproach',
tabsContentSelector: '.tabs-box .highlighter-rouge',
activeClass: 'tabheader_active'
});

tabs({
tabsWrapperSelector: '.tabs-new',
tabsParentSelector: '.tabs-python-scala-head',
Expand Down
1 change: 1 addition & 0 deletions docs/assets/images/ER_DRUG.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/assets/images/Legal_Contract_NLI.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions docs/demos/legal_text_classification.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,16 @@ data:
- text: Colab
type: blue_btn
url:
- title: Legal Contract NLI
id: legal_contract_nli
image:
src: /assets/images/Legal_Contract_NLI.svg
excerpt: This is a text-to-text generation model (encode-decoder architecture) that has undergone fine-tuning on contract for Natural Language Inference on in-house curated dataset, aiming to streamline and expedite the contract review process. The objective of this task is to provide a system with a set of hypotheses, like “Some obligations of Agreement may survive termination,” along with a contract, and task it with classifying whether each hypothesis is entailed, contradicted, or not mentioned (neutral) by the contract.
actions:
- text: Live Demo
type: normal
url: https://demo.johnsnowlabs.com/legal/LEGGEN_CONTRACT_NLI/
- text: Colab
type: blue_btn
url:
---
Loading

0 comments on commit cba80d0

Please sign in to comment.