Unify docs and convert rst to ipynb#1644
Merged
IgnatovFedor merged 25 commits intodevfrom Oct 9, 2023
Merged
Conversation
# Conflicts: # docs/features/models/entity_extraction.rst # docs/features/models/kbqa.rst
IgnatovFedor
requested changes
Jun 6, 2023
# Conflicts: # docs/features/models/odqa.rst # docs/features/models/re.rst
IgnatovFedor
approved these changes
Oct 8, 2023
Merged
kuraga
reviewed
Nov 6, 2023
Comment on lines
+99
to
+120
| { | ||
| "cell_type": "code", | ||
| "execution_count": null, | ||
| "metadata": {}, | ||
| "outputs": [], | ||
| "source": [ | ||
| "ranking([[\"Forrest Gump is a 1994 American epic comedy-drama film directed by Robert Zemeckis.\",\n", | ||
| " \"Robert Zemeckis directed Forrest Gump.\",\n", | ||
| " \"Robert Lee Zemeckis was born on May 14, 1952, in Chicago.\"]])" | ||
| ] | ||
| }, | ||
| { | ||
| "cell_type": "markdown", | ||
| "metadata": {}, | ||
| "source": [ | ||
| "**Input:** List[List[sentence1, sentence2, ...]], where the sentences from the second to the last will be ranked by similarity with the first sentence.\n", | ||
| "\n", | ||
| "**Output:** List[List[scores]] - similarity scores to the first sentence of the sentences from the second to the last.\n", | ||
| "\n", | ||
| "### Russian" | ||
| ] | ||
| }, |
There was a problem hiding this comment.
Thanks @IgnatovFedor !
Are there plans to fix such as "output is no a code cell", "List[List[scores]] -> List[List[scores]]"?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Write docs in unified format: 1. Introduction to the task. 2. Get started with the model. 3. Models list. 4. Use the model for prediction. 5. Customize the model.
Convert rst docs in ipynb format.