├── CNAME
├── _site
├── 404
│ └── index.html
├── CNAME
├── documentation
│ ├── 404
│ │ └── index.html
│ ├── .htaccess
│ ├── favicon.ico
│ └── doks-theme
│ │ └── assets
│ │ ├── fonts
│ │ └── icons
│ │ │ ├── icons.ttf
│ │ │ └── icons.woff
│ │ ├── images
│ │ └── layout
│ │ │ ├── logo.png
│ │ │ └── logo-footer.png
│ │ └── js
│ │ ├── scripts.min.js
│ │ ├── vendor
│ │ ├── bootstrap
│ │ │ ├── affix.min.js
│ │ │ └── scrollspy.min.js
│ │ └── matchHeight.min.js
│ │ └── scripts.js
├── favicon.ico
├── designs
│ └── favicon.psd
├── doks-theme
│ └── assets
│ │ ├── fonts
│ │ └── icons
│ │ │ ├── icons.ttf
│ │ │ └── icons.woff
│ │ ├── images
│ │ └── layout
│ │ │ ├── logo.png
│ │ │ └── logo-footer.png
│ │ └── js
│ │ ├── scripts.min.js
│ │ ├── vendor
│ │ ├── bootstrap
│ │ │ ├── affix.min.js
│ │ │ └── scrollspy.min.js
│ │ └── matchHeight.min.js
│ │ └── scripts.js
└── ranges
│ ├── 51xx
│ └── index.html
│ ├── 59xx
│ └── index.html
│ ├── 54xx
│ └── index.html
│ ├── 52xx
│ └── index.html
│ ├── 53xx
│ └── index.html
│ └── 50xx
│ └── index.html
├── documentation
├── 404
│ └── index.html
├── .htaccess
├── favicon.ico
└── doks-theme
│ └── assets
│ ├── fonts
│ └── icons
│ │ ├── icons.ttf
│ │ └── icons.woff
│ ├── images
│ └── layout
│ │ ├── logo.png
│ │ └── logo-footer.png
│ └── js
│ ├── scripts.min.js
│ ├── vendor
│ ├── bootstrap
│ │ ├── affix.min.js
│ │ └── scrollspy.min.js
│ └── matchHeight.min.js
│ └── scripts.js
├── favicon.ico
├── designs
└── favicon.psd
├── doks-theme
├── assets
│ ├── fonts
│ │ └── icons
│ │ │ ├── icons.ttf
│ │ │ └── icons.woff
│ ├── images
│ │ └── layout
│ │ │ ├── logo.png
│ │ │ └── logo-footer.png
│ ├── css
│ │ └── style.scss
│ └── js
│ │ ├── scripts.min.js
│ │ ├── vendor
│ │ ├── bootstrap
│ │ │ ├── affix.min.js
│ │ │ └── scrollspy.min.js
│ │ └── matchHeight.min.js
│ │ └── scripts.js
├── _sass
│ ├── objects
│ │ ├── _content.scss
│ │ ├── _section.scss
│ │ ├── _error-404.scss
│ │ ├── _grid.scss
│ │ ├── _buttons.scss
│ │ └── _icons.scss
│ ├── tools
│ │ ├── _hyperlinks.scss
│ │ ├── _clearfix.scss
│ │ ├── _lists.scss
│ │ ├── _responsive-visibility.scss
│ │ ├── _prefixer.scss
│ │ ├── _grid-framework.scss
│ │ └── _grid.scss
│ ├── utilities
│ │ ├── _alignment.scss
│ │ └── _visibility.scss
│ ├── components
│ │ ├── _title-anchor-link.scss
│ │ ├── _site-footer.scss
│ │ ├── _micro-nav.scss
│ │ ├── _example.scss
│ │ ├── _hero-subheader.scss
│ │ ├── _sections-list.scss
│ │ ├── _page-nav.scss
│ │ ├── _callout.scss
│ │ ├── _nav-grid.scss
│ │ ├── _social-list.scss
│ │ └── _site-header.scss
│ ├── themes
│ │ ├── _red.scss
│ │ ├── _green.scss
│ │ ├── _purple.scss
│ │ └── _yellow.scss
│ ├── _variables.scss
│ └── generic
│ │ ├── _base.scss
│ │ └── _code.scss
├── _includes
│ ├── micro-nav.html
│ ├── google-analytics.html
│ ├── site-head.html
│ ├── comments.html
│ ├── site-header.html
│ └── site-footer.html
└── _layouts
│ ├── error-404.html
│ ├── homepage.html
│ └── default.html
├── README.md
├── 404.md
├── ranges
├── 54xx.md
├── 51xx.md
├── 55xx.md
├── 50xx.md
├── 52xx.md
├── 59xx.md
└── 53xx.md
├── default.md
├── kinds
├── 5202.md
├── 5002.md
├── 5304.md
├── 5900.md
├── 5303.md
├── 5901.md
├── 5001.md
├── 5250.md
├── 5000.md
├── 5200.md
├── 5302.md
├── 5905.md
├── 5500.md
├── 5301.md
├── 5400.md
├── 5300.md
├── 5100.md
├── 5201.md
└── 5050.md
├── intro.md
├── _config.yml
├── index.md
├── nip89.md
└── _index.html.old
/CNAME:
--------------------------------------------------------------------------------
1 | www.data-vending-machines.org
--------------------------------------------------------------------------------
/_site/CNAME:
--------------------------------------------------------------------------------
1 | www.data-vending-machines.org
--------------------------------------------------------------------------------
/documentation/.htaccess:
--------------------------------------------------------------------------------
1 | ErrorDocument 404 /404/index.html
2 |
--------------------------------------------------------------------------------
/_site/documentation/.htaccess:
--------------------------------------------------------------------------------
1 | ErrorDocument 404 /404/index.html
2 |
--------------------------------------------------------------------------------
/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/believethehype/data-vending-machines/master/favicon.ico
--------------------------------------------------------------------------------
/_site/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/believethehype/data-vending-machines/master/_site/favicon.ico
--------------------------------------------------------------------------------
/designs/favicon.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/believethehype/data-vending-machines/master/designs/favicon.psd
--------------------------------------------------------------------------------
/_site/designs/favicon.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/believethehype/data-vending-machines/master/_site/designs/favicon.psd
--------------------------------------------------------------------------------
/documentation/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/believethehype/data-vending-machines/master/documentation/favicon.ico
--------------------------------------------------------------------------------
/_site/documentation/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/believethehype/data-vending-machines/master/_site/documentation/favicon.ico
--------------------------------------------------------------------------------
/doks-theme/assets/fonts/icons/icons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/believethehype/data-vending-machines/master/doks-theme/assets/fonts/icons/icons.ttf
--------------------------------------------------------------------------------
/doks-theme/assets/fonts/icons/icons.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/believethehype/data-vending-machines/master/doks-theme/assets/fonts/icons/icons.woff
--------------------------------------------------------------------------------
/doks-theme/assets/images/layout/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/believethehype/data-vending-machines/master/doks-theme/assets/images/layout/logo.png
--------------------------------------------------------------------------------
/_site/doks-theme/assets/fonts/icons/icons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/believethehype/data-vending-machines/master/_site/doks-theme/assets/fonts/icons/icons.ttf
--------------------------------------------------------------------------------
/_site/doks-theme/assets/fonts/icons/icons.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/believethehype/data-vending-machines/master/_site/doks-theme/assets/fonts/icons/icons.woff
--------------------------------------------------------------------------------
/_site/doks-theme/assets/images/layout/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/believethehype/data-vending-machines/master/_site/doks-theme/assets/images/layout/logo.png
--------------------------------------------------------------------------------
/doks-theme/assets/images/layout/logo-footer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/believethehype/data-vending-machines/master/doks-theme/assets/images/layout/logo-footer.png
--------------------------------------------------------------------------------
/_site/doks-theme/assets/images/layout/logo-footer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/believethehype/data-vending-machines/master/_site/doks-theme/assets/images/layout/logo-footer.png
--------------------------------------------------------------------------------
/documentation/doks-theme/assets/fonts/icons/icons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/believethehype/data-vending-machines/master/documentation/doks-theme/assets/fonts/icons/icons.ttf
--------------------------------------------------------------------------------
/documentation/doks-theme/assets/fonts/icons/icons.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/believethehype/data-vending-machines/master/documentation/doks-theme/assets/fonts/icons/icons.woff
--------------------------------------------------------------------------------
/documentation/doks-theme/assets/images/layout/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/believethehype/data-vending-machines/master/documentation/doks-theme/assets/images/layout/logo.png
--------------------------------------------------------------------------------
/_site/documentation/doks-theme/assets/fonts/icons/icons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/believethehype/data-vending-machines/master/_site/documentation/doks-theme/assets/fonts/icons/icons.ttf
--------------------------------------------------------------------------------
/_site/documentation/doks-theme/assets/fonts/icons/icons.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/believethehype/data-vending-machines/master/_site/documentation/doks-theme/assets/fonts/icons/icons.woff
--------------------------------------------------------------------------------
/_site/documentation/doks-theme/assets/images/layout/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/believethehype/data-vending-machines/master/_site/documentation/doks-theme/assets/images/layout/logo.png
--------------------------------------------------------------------------------
/documentation/doks-theme/assets/images/layout/logo-footer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/believethehype/data-vending-machines/master/documentation/doks-theme/assets/images/layout/logo-footer.png
--------------------------------------------------------------------------------
/_site/documentation/doks-theme/assets/images/layout/logo-footer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/believethehype/data-vending-machines/master/_site/documentation/doks-theme/assets/images/layout/logo-footer.png
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # data-vending-machines.org
2 |
3 | This is the website for [data-vending-machines.org](https://www.data-vending-machines.org/), which specs the different NIP-90 kinds.
4 |
5 | # License
6 |
7 | MIT
--------------------------------------------------------------------------------
/doks-theme/_sass/objects/_content.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Content (objects/_content.scss)
3 | */
4 |
5 | /* ----- Headings ----- */
6 | .content {
7 | > :first-child {
8 | margin-top: 0;
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/doks-theme/_sass/tools/_hyperlinks.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Hyperlinks (tools/_hyperlinks.scss)
3 | */
4 |
5 | /* ----- Reset ----- */
6 | @mixin link-reset {
7 | border-bottom: 0;
8 | padding: 0;
9 | }
10 |
--------------------------------------------------------------------------------
/404.md:
--------------------------------------------------------------------------------
1 | ---
2 | # Page settings
3 | layout: error-404
4 | title: 404 - Page not found
5 |
6 | # Content settings
7 | page_content:
8 | title: 404 / Page not found
9 | message: The link you clicked may be broken
or the page may have been removed.
10 | ---
11 |
--------------------------------------------------------------------------------
/doks-theme/_sass/tools/_clearfix.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Clearfix (tools/_clearfix.scss)
3 | */
4 |
5 | /* ----- General ----- */
6 | @mixin clearfix {
7 | &::before,
8 | &::after {
9 | content: ' ';
10 | display: table;
11 | }
12 |
13 | &::after {
14 | clear: both;
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/doks-theme/_sass/tools/_lists.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Lists (tools/_lists.scss)
3 | */
4 |
5 | /* ----- Horizontal list ----- */
6 | @mixin list-horizontal {
7 | li {
8 | float: left;
9 | padding: 0;
10 | margin-bottom: 0;
11 |
12 | &::before {
13 | display: none;
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/ranges/54xx.md:
--------------------------------------------------------------------------------
1 | ---
2 | # Page settings
3 | layout: homepage
4 | keywords: nostr
5 |
6 | # Hero section
7 | title: Analytics
8 | description: "Jobs where the goal is to analyze nostr events"
9 | buttons:
10 | - content: Back
11 | url: '/'
12 | external_url: false
13 |
14 | # Grid navigation
15 | grid_navigation:
16 | - title: Nostr Event Count
17 | excerpt: "Used to count nostr events. Kind 5400"
18 | cta: View
19 | url: '/kinds/5400'
20 | ---
21 |
--------------------------------------------------------------------------------
/doks-theme/_includes/micro-nav.html:
--------------------------------------------------------------------------------
1 |
{{ page.page_content.message }}
12 | {% endif %} 13 | 14 | 15 | Go back home 16 | 17 |The link you clicked may be broken
or the page may have been removed.
The link you clicked may be broken
or the page may have been removed.
The link you clicked may be broken
or the page may have been removed.
marker in the i tag.
10 |
11 | # Params
12 |
13 | ## `range`
14 |
15 | Specifies a range on which to focus the transcription in seconds (for audio inputs)
16 |
17 | ```
18 | [ "param", "range", ""i" tag field. The desired file(s) to be scanned must be directly accessible at the provided URL.
10 |
11 | # Output
12 |
13 | If no malware was found, `content` is set to the string `CLEAN`. If malware was found, `content` contains plaintext with details of findings.
14 |
15 | # Example 1
16 |
17 | ## Analysis of a file that contains malware.
18 |
19 | #### Request
20 |
21 | ```json
22 | {
23 | "content": "",
24 | "kind": 5500,
25 | "tags": [["i", "https://secure.eicar.org/eicar.com.txt", "url"]]
26 | }
27 | ```
28 |
29 | #### Response
30 |
31 | ```json
32 | {
33 | ...
34 | "content": "Scanning eicar.com.txt
35 | eicar.com.txt: Win.Test.EICAR_HDB-1 FOUND
36 | eicar.com.txt: Win.Test.EICAR_HSB-1 FOUND
37 | eicar.com.txt: Eicar-Signature FOUND
38 | eicar.com.txt!(0): Eicar-Signature FOUND
39 |
40 | ----------- SCAN SUMMARY -----------
41 | Known viruses: 8682629
42 | Engine version: 1.2.1
43 | Scanned directories: 0
44 | Scanned files: 1
45 | Infected files: 1
46 | Data scanned: 0.00 MB
47 | Data read: 0.00 MB (ratio 0.00:1)
48 | Time: 12.757 sec (0 m 12 s)
49 | Start Date: 2024:01:15 17:01:38
50 | End Date: 2024:01:15 17:01:51",
51 | "kind": 6500
52 | ...
53 | }
54 | ```
55 |
56 | # Example 2
57 |
58 | ## Analysis of a clean file.
59 |
60 | #### Request
61 |
62 | ```json
63 | {
64 | "content": "",
65 | "kind": 5500,
66 | "tags": [
67 | [
68 | "i",
69 | "https://raw.githubusercontent.com/ca110us/go-clamav/main/example/test_file/nmap",
70 | "url"
71 | ]
72 | ]
73 | }
74 | ```
75 |
76 | #### Response
77 |
78 | ```json
79 | {
80 | ...
81 | "content": "CLEAN",
82 | "kind": 6500
83 | ...
84 | }
85 | ```
86 |
--------------------------------------------------------------------------------
/doks-theme/_includes/site-header.html:
--------------------------------------------------------------------------------
1 | {% if site.doks.header.nav %}
2 |
21 |
22 | {% endif %}
23 | {% if site.doks.header.nav %}
24 |
29 |
34 | {% endif %}
35 | "i" tag containing the url to the existing image
10 |
11 |
12 | # Params
13 |
14 | ## `model`
15 |
16 | Description:
17 | Specifies the identifier for the AI model to be used for the image generation task. Different models might produce different outcomes.
18 |
19 | Usage:
20 | Set this parameter to the specific ID or name of the AI model you wish to use. This is especially useful if you have multiple models available and you want to select a particular one for a task. Ensure that the specified model is compatible with the task at hand and has been adequately trained or fine-tuned for optimal results.
21 |
22 | ## `lora`
23 |
24 | Description:
25 | Specifies the identifier of a lora. A lora provides weights that can be applied on top of a model. Users can combine models and loras to create unique images.
26 |
27 | ## `ratio`
28 |
29 | Description:
30 | The Ratio of the output image. Allowed ratios are:
31 | 1:1 4:3 16:9 16:10 3:4 9:16 10:16
32 |
33 | ## `negative_prompt`
34 |
35 | Description:
36 | Define a negative prompt that includes what the model should avoid during Generation. This sometimes helps improving the outcome quality
37 |
38 | ## `size`
39 |
40 | Description:
41 | Specifies in the format of `${width}x${height}` (i.e `512x512`, `1024x768`) the exact size/dimension the image will be generated in. This param takes precedence over `ratio`. DVMs SHOULD ignore the job request if unable to fulfill the requested size
42 |
43 |
44 |
45 | # Output
46 |
47 | A link to the generated image(s)
48 |
49 | # Example 1
50 |
51 | ## Generates an output image based on the input prompt and params
52 |
53 | ```json
54 | {
55 | "content": "",
56 | "kind": 5100,
57 | "tags": [
58 | [ "i", "A purple ostrich watching the sunset", "text" ],
59 | [ "param", "ratio", "4:3"],
60 | [ "param", "negative_prompt", "broken hands, bad quality"]
61 | ]
62 | }
63 | ```
64 |
65 | # Example 2
66 |
67 | ## Converts the style of an input image
68 |
69 | ```json
70 | {
71 | "content": "",
72 | "kind": 5100,
73 | "tags": [
74 | [ "i", "https://image.nostr.build/cbfedf544d1ab82d26332bf70c1ea55b8f275ae59a04c3dac175d9cae536725e.jpg", "url" ],
75 | [ "i", "In style of Pablo Picasso", "text" ]
76 | [ "param", "size", "512x512" ]
77 | ]
78 | }
79 | ```
80 |
--------------------------------------------------------------------------------
/doks-theme/_includes/site-footer.html:
--------------------------------------------------------------------------------
1 | {% if site.doks.footer.content.logo.image or site.doks.footer.content.logo.text or site.doks.footer.content.copyright or site.doks.footer.social_list %}
2 |
34 | {% endif %}
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 | {% include google-analytics.html %}
43 |
--------------------------------------------------------------------------------
/doks-theme/_sass/components/_social-list.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Social list (components/_social-list.scss)
3 | */
4 |
5 | /* ----- General ----- */
6 | .social-list {
7 | margin-bottom: 0;
8 |
9 | li {
10 | display: inline-block;
11 | padding: 0;
12 |
13 | + li {
14 | margin-left: 1.25rem;
15 | margin-bottom: 1.25rem;
16 | }
17 |
18 | &::before {
19 | display: none;
20 | }
21 | }
22 | }
23 |
24 | /* ----- Item ----- */
25 | .social-list__item {
26 | @include link-reset;
27 | display: block;
28 | color: $color-social-item;
29 | font-size: 1.875em;
30 | line-height: 1;
31 | transition: color .2s;
32 |
33 | &:hover,
34 | &:focus,
35 | &:active {
36 | &.social-list__item--behance {
37 | color: #1769ff;
38 | }
39 |
40 | &.social-list__item--bitbucket {
41 | color: #205081;
42 | }
43 |
44 | &.social-list__item--codepen {
45 | color: #494949;
46 | }
47 |
48 | &.social-list__item--dribbble {
49 | color: #ea4c89;
50 | }
51 |
52 | &.social-list__item--dropbox {
53 | color: #007ee5;
54 | }
55 |
56 | &.social-list__item--facebook {
57 | color: #3b5998;
58 | }
59 |
60 | &.social-list__item--github {
61 | color: #333;
62 | }
63 |
64 | &.social-list__item--gitlab {
65 | color: #fc6d26;
66 | }
67 |
68 | &.social-list__item--google-plus {
69 | color: #dd4b39;
70 | }
71 |
72 | &.social-list__item--gulp {
73 | color: #DA4648;
74 | }
75 |
76 | &.social-list__item--instagram {
77 | color: #e1306c;
78 | }
79 |
80 | &.social-list__item--kickstarter {
81 | color: #2bde73;
82 | }
83 |
84 | &.social-list__item--linkedin {
85 | color: #0077b5;
86 | }
87 |
88 | &.social-list__item--medium {
89 | color: #00ab6c;
90 | }
91 |
92 | &.social-list__item--meetup {
93 | color: #e0393e;
94 | }
95 |
96 | &.social-list__item--pocket {
97 | color: #ef4056;
98 | }
99 |
100 | &.social-list__item--producthunt {
101 | color: #da552f;
102 | }
103 |
104 | &.social-list__item--reddit {
105 | color: #ff4500;
106 | }
107 |
108 | &.social-list__item--skype {
109 | color: #00aff0;
110 | }
111 |
112 | &.social-list__item--slack {
113 | color: #3eb991;
114 | }
115 |
116 | &.social-list__item--stackoverflow {
117 | color: #f48024;
118 | }
119 |
120 | &.social-list__item--trello {
121 | color: #0079bf;
122 | }
123 |
124 | &.social-list__item--tumblr {
125 | color: #35465c;
126 | }
127 |
128 | &.social-list__item--twitter {
129 | color: #1da1f2;
130 | }
131 |
132 | &.social-list__item--youtube {
133 | color: #cd201f;
134 | }
135 | }
136 |
137 | .icon {
138 | display: block;
139 | }
140 | }
141 |
--------------------------------------------------------------------------------
/kinds/5201.md:
--------------------------------------------------------------------------------
1 | ---
2 | layout: default
3 | title: Video Translation
4 | description: Job request to translate video audio content into target language with or without subtitles.
5 | ---
6 |
7 | # Input
8 |
9 | Clients provide a link to the input video or a reference to an event or job ID. The ID or link can either point directly to a media file (e.g. ending with .mp4) or to a social media share link, e.g. a Tweet or a YouTube video.
10 |
11 | # Params
12 |
13 | ## `language`
14 |
15 | Specifies the output language of the video. Input language is auto-detected.
16 |
17 | ```
18 | [ "param", "language", "es"]
19 | ```
20 |
21 | | ID | Language |
22 | | ---- | --------- |
23 | | en | English |
24 | | jp | Japanese |
25 | | cn | Chinese |
26 | | de | German |
27 | | in | Tamil |
28 | | fr | French |
29 | | kr | Korean |
30 | | br | Portuguese (Brazil) |
31 | | pt | Portuguese (Portugal) |
32 | | it | Italian |
33 | | es | Spanish |
34 | | id | Indonesian |
35 | | nl | Dutch |
36 | | tr | Turkish |
37 | | ph | Filipino |
38 | | pl | Polish |
39 | | se | Swedish |
40 | | bg | Bulgarian |
41 | | ro | Romanian |
42 | | se | Arabic (Saudi Arabia) |
43 | | ae | Arabic (UAE) |
44 | | cz | Czech |
45 | | gr | Greek |
46 | | fi | Finnish |
47 | | hr | Croatian |
48 | | my | Malay |
49 | | sk | Slovak |
50 | | dk | Danish |
51 | | ua | Ukrainian |
52 |
53 |
54 | ## `subtitle`
55 |
56 | Optional parameter. Specifies the language for subtitle captions that be burned into the video.
57 |
58 | ```
59 | [ "param", "subtitle", "en"]
60 | ```
61 |
62 |
63 | ## `range`
64 |
65 | Optional parameter. Specifies a range if the video translation should be targeted to a specific timestamp range.
66 |
67 | ```
68 | [ "param", "range", "Jobs that don't fit neatly in other categories
31 | 32 | 33 | 34 | 35 | 36 | Back 37 | 38 | 39 | 40 |Jobs where the goal is to analyze nostr events
31 | 32 | 33 | 34 | 35 | 36 | Back 37 | 38 | 39 | 40 |"i" tag field field for the AI to continue generating from.
10 |
11 |
12 | # Params
13 |
14 | ## `model`
15 |
16 | Description:
17 | Specifies the identifier for the AI model to be used for the text generation task. Different models might have different capabilities, sizes, training data, or fine-tuning, which can lead to variations in output quality and style.
18 |
19 | Usage:
20 | Set this parameter to the specific ID or name of the AI model you wish to use. This is especially useful if you have multiple models available and you want to select a particular one for a task. Ensure that the specified model is compatible with the task at hand and has been adequately trained or fine-tuned for optimal results.
21 |
22 | For instance, if you have a model specifically trained for medical text generation and another for general-purpose tasks, you might use the Model-Id parameter to specify which one to use based on the context of your request.
23 |
24 | ## `max_tokens`
25 |
26 | Description:
27 | Defines the maximum number of tokens (words, punctuation marks, etc.) that the generated output should contain. It helps to limit the length of the response and ensures that the output does not exceed a certain size.
28 |
29 | Usage:
30 | If you want a short response, set a lower value. For longer responses, increase the value.
31 |
32 | ## `temperature`
33 |
34 | Description:
35 | Controls the randomness of the AI's output. A higher value makes the output more random, while a lower value makes it more deterministic and focused on the most likely completion.
36 |
37 | Usage:
38 | Values typically range from 0.1 to 2.0. A value of 1.0 is neutral, below 1.0 makes the model more conservative, and above 1.0 makes it more creative.
39 |
40 | ## `top_k`
41 |
42 | Description:
43 | Limits the AI to consider only the top K probable next words/tokens when generating a response. It narrows down the choices and can make the output more coherent, especially when set to a reasonable number.
44 |
45 | Usage:
46 | Common values might range from 20 to 50, but it can vary based on the specific task.
47 | ## `top_p`
48 |
49 | Description:
50 | Also known as "nucleus sampling." Instead of just taking the top K probable words, it selects the smallest set of words whose cumulative probability exceeds a threshold P. This allows for more diversity than Top-K alone.
51 |
52 | Usage:
53 | Values are typically between 0.7 and 0.95. A higher value results in more randomness in the output.
54 |
55 | ## `frequency_penalty`
56 |
57 | Description:
58 | Applies a penalty to words/tokens that the model has already used, discouraging it from repeating the same words or phrases. This helps to make the output more diverse and reduces redundancy.
59 |
60 | Usage:
61 | Values greater than 1.0 discourage repetition, while values less than 1.0 encourage it. For instance, setting it to 1.2 might mildly discourage repetition.
62 |
63 | NOTE: All parameters are optional and additional application specific parameters can be added.
64 |
65 | ```
66 | [ "param", "model", "LLaMA-2" ],
67 | [ "param", "max_tokens", "512" ],
68 | [ "param", "temperature", "0.5" ],
69 | [ "param", "top-k", "50" ],
70 | [ "param", "top-p", "0.7" ],
71 | [ "param", "frequency_penalty", "1" ]
72 | ```
73 |
74 | # Output
75 |
76 | Including but not limited to:
77 |
78 | * `text/plain`
79 | * `text/markdown`
80 |
81 | # Example
82 |
83 | ## Generates the output based on the input prompt and params
84 |
85 | ```json
86 | {
87 | "content": "",
88 | "kind": 5050,
89 | "tags": [
90 | [ "i", "what is the capital of France? ", "prompt" ],
91 | [ "param", "model", "LLaMA-2"],
92 | [ "param", "max_tokens", "512"],
93 | [ "param", "temperature", "0.5"],
94 | [ "param", "top-k", "50"],
95 | [ "param", "top-p", "0.7"],
96 | [ "param", "frequency_penalty", "1"]
97 | ]
98 | }
99 | ```
100 |
--------------------------------------------------------------------------------
/_site/ranges/52xx/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Job request to extract text from some kind of input.
23 | 24 |
27 | Jobs MIGHT specify a mime type as the
28 | marker in the i tag.
29 |
36 | [ "param", "range", "<start>", "<end>" ]
37 |
38 | Including but not limited to:
48 | 49 |text/vtttext/plaintext/markdownSummarize input
60 | 61 |
66 | [ "param", "length", "<length>" ]
67 |
68 | Including but not limited to:
77 | 78 |text/plaintext/markdownSummarize input
88 | 89 |
94 | [ "param", "lang", "<lang>" ]
95 |
96 | Summarize input
107 | 108 |
113 | [ "param", "length", "<length>" ]
114 |
115 | Including but not limited to:
124 | 125 |text/plaintext/markdownGenerate image based on some input (e.g. text, an event, another image, etc.)
135 | 136 |
141 | [ "param", "negative_prompt", "<negative_prompt>" ]
142 |
143 |
149 | [ "param", "ratio", "<ratio>" ]
150 |
151 |
157 | [ "param", "model", "<model>" ]
158 |
159 | Jobs where the goal is to discover something
31 | 32 | 33 | 34 | 35 | 36 | Back 37 | 38 | 39 | 40 |{{ page.description }}
19 | {% endif %} 20 | {% if page.page_nav.prev.content or page.page_nav.next.content %} 21 | {% if page.page_nav.prev.content and page.page_nav.prev.url %} 22 | 23 | 24 | {{ page.page_nav.prev.content }} 25 | 26 | {% endif %} 27 | {% if page.page_nav.next.content and page.page_nav.next.url %} 28 | 29 | 30 | {{ page.page_nav.next.content }} 31 | 32 | {% endif %} 33 | {% endif %} 34 |