-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix some dependencies * LSF build 3f0e7f5 * Make relative paths in config.json, extract IDs from source storage keys, pass project full path in ML backend * Update converter to 0.0.21 * Add utils for getting uploaded local files * Update converter package * Update LSF 64d1468 * Add Paragrahs/Taxonomy samples, rewrite sample task generation * Update LSF, handle secure mode * Fix secure mode for Text object * Remove absolute paths from config * Change version to 0.8.2 * Fix ml server path for Windows * Update LSF 38a8537 * Fix export dir * Update LSF 2b48362 * Fix type validation for paragraphs * Update LSF 8f89391 * Add ML backend for GPT2 Chatbot generator based on <Paragraphs> + new template * Add docs for Paragraphs and Taxonomy * Add paragraphs reference, fix doc * Change tooltip texts * Upgrade converters: fix export with relations * Add new icons to templates * Fix center for icons Co-authored-by: nik <[email protected]> Co-authored-by: makseq-msi3 <[email protected]> Co-authored-by: hlomzik <[email protected]>
- Loading branch information
1 parent
269df7f
commit e34e4cd
Showing
64 changed files
with
446 additions
and
185 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: Choice | ||
type: tags | ||
order: 402 | ||
order: 403 | ||
--- | ||
|
||
Choice tag represents a single choice | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: Ellipse | ||
type: tags | ||
order: 404 | ||
order: 405 | ||
--- | ||
|
||
Ellipse | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: EllipseLabels | ||
type: tags | ||
order: 405 | ||
order: 406 | ||
--- | ||
|
||
EllipseLabels tag creates labeled ellipses | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: KeyPointLabels | ||
type: tags | ||
order: 408 | ||
order: 409 | ||
--- | ||
|
||
KeyPointLabels tag | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: Label | ||
type: tags | ||
order: 409 | ||
order: 410 | ||
--- | ||
|
||
Label tag represents a single label | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: Labels | ||
type: tags | ||
order: 410 | ||
order: 411 | ||
--- | ||
|
||
Labels tag, create a group of labels | ||
|
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
title: ParagraphLabels | ||
type: tags | ||
order: 414 | ||
is_new: t | ||
--- | ||
|
||
ParagraphLabels tag | ||
ParagraphLabels tag creates labeled paragraph | ||
|
||
### Parameters | ||
|
||
| Param | Type | Description | | ||
| --- | --- | --- | | ||
| name | <code>string</code> | name of the element | | ||
| toName | <code>string</code> | name of the html element to label | | ||
|
||
### Example | ||
```html | ||
<View> | ||
<ParagraphLabels name="labels" toName="prg"> | ||
<Label value="Face" /> | ||
<Label value="Nose" /> | ||
</ParagraphLabels> | ||
<Paragraphs name="prg" value="$dialogue" layout="dialogue" /> | ||
</View> | ||
``` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
title: Paragraphs | ||
type: tags | ||
order: 305 | ||
is_new: t | ||
--- | ||
|
||
Paragraphs tag shows an Paragraphs markup that can be labeled | ||
it expects an array of objects like that `[{ $nameKey: "Author name", $textKey: "Text" }, ... ]` | ||
|
||
### Parameters | ||
|
||
| Param | Type | Default | Description | | ||
| --- | --- | --- | --- | | ||
| name | <code>string</code> | | name of the element | | ||
| value | <code>string</code> | | value of the element | | ||
| [valueType] | <code>json</code> \| <code>url</code> | <code>json</code> | how to treat value — as data or as url with data to load from | | ||
| audioUrl | <code>string</code> | | audio to sync phrases with | | ||
| [saveTextResult] | <code>no</code> \| <code>yes</code> | <code>yes</code> | whether to save `text` to `value` or not | | ||
| [layout] | <code>none</code> \| <code>dialogue</code> | <code>none</code> | the styles layout to use | | ||
| [nameKey] | <code>string</code> | <code>"author"</code> | name key to use | | ||
| [textKey] | <code>string</code> | <code>"text"</code> | text key to use | | ||
|
||
### Example | ||
```html | ||
<View> | ||
<Paragraphs name="dialogue-1" value="$dialogue" layout="dialogue" /> | ||
</View> | ||
``` |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: PolygonLabels | ||
type: tags | ||
order: 414 | ||
order: 416 | ||
--- | ||
|
||
PolygonLabels tag, create labeled polygons | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: Ranker | ||
type: tags | ||
order: 415 | ||
order: 417 | ||
--- | ||
|
||
Ranker tag, used to ranking models | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: Rating | ||
type: tags | ||
order: 416 | ||
order: 418 | ||
--- | ||
|
||
Rating adds rating selection | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: RectangleLabels | ||
type: tags | ||
order: 418 | ||
order: 420 | ||
--- | ||
|
||
RectangleLabels tag creates labeled rectangles | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: Relation | ||
type: tags | ||
order: 419 | ||
order: 421 | ||
--- | ||
|
||
Relation tag represents a single relation label | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: Relations | ||
type: tags | ||
order: 420 | ||
order: 422 | ||
--- | ||
|
||
Relations tag, create relations labels | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
title: Taxonomy | ||
type: tags | ||
order: 424 | ||
is_new: t | ||
--- | ||
|
||
Taxonomy tag allows to select one or more hierarchical labels | ||
storing both label and their ancestors. | ||
|
||
### Parameters | ||
|
||
| Param | Type | Description | | ||
| --- | --- | --- | | ||
| name | <code>string</code> | name of the group | | ||
| toName | <code>string</code> | name of the element that you want to label | | ||
|
||
### Example | ||
```html | ||
<View> | ||
<Taxonomy name="media" toName="text"> | ||
<Choice value="Online"> | ||
<Choice value="UGC" /> | ||
<Choice value="Free" /> | ||
<Choice value="Paywall"> | ||
<Choice value="NYC Times" /> | ||
<Choice value="The Wall Street Journal" /> | ||
</Choice> | ||
</Choice> | ||
<Choice value="Offline" /> | ||
</Taxonomy> | ||
<Text name="text" value="You never believe what he did to the country" /> | ||
</View> | ||
``` |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: TextArea | ||
type: tags | ||
order: 422 | ||
order: 425 | ||
--- | ||
|
||
TextArea tag shows the textarea for user input | ||
|
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../label_studio/ml/examples/huggingface/README.md |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
package_name = 'label-studio' | ||
|
||
# Package version | ||
__version__ = '0.8.1.post0' | ||
__version__ = '0.8.2' |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!-- {"title": "Chatbot", "category": "html", "complexity": "basic", "new": true, "order": "2"} --> | ||
<View> | ||
<Paragraphs | ||
name="dialogue" | ||
value="$dialogue" | ||
layout="dialogue" | ||
savetextresult="yes" | ||
nameKey="speaker" | ||
textKey="phrase" | ||
/> | ||
<TextArea name="response" toName="dialogue" | ||
editable="true" | ||
required="true" | ||
placeholder="Put your response here..."/> | ||
</View> | ||
|
Oops, something went wrong.