Instructions to use apus-ailab/APUS-Reflex with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use apus-ailab/APUS-Reflex with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("apus-ailab/APUS-Reflex", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 13,526 Bytes
675525d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 | <?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns:xlink="http://www.w3.org/1999/xlink" width="213.12pt" height="50.04pt" viewBox="0 0 213.12 50.04" xmlns="http://www.w3.org/2000/svg" version="1.1">
<title>expected-utility</title>
<metadata>
<rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<cc:Work>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<dc:title>expected-utility</dc:title>
<dc:format>image/svg+xml</dc:format>
<dc:creator>
<cc:Agent>
<dc:title>Matplotlib v3.10.8, https://matplotlib.org/</dc:title>
</cc:Agent>
</dc:creator>
</cc:Work>
</rdf:RDF>
</metadata>
<defs>
<style type="text/css">*{stroke-linejoin: round; stroke-linecap: butt}</style>
</defs>
<g id="figure_1">
<g id="patch_1">
<path d="M 0 50.04
L 213.12 50.04
L 213.12 0
L 0 0
z
" style="fill: #ffffff"/>
</g>
<g id="text_1">
<!-- $\mathcal{L}_{\mathrm{utility}}=-\sum_{a\in A(x)}p_{\mathrm{low}}(a)\,u(a)$ -->
<g style="fill: #14243c" transform="translate(8.64 22.5) scale(0.18 -0.18)">
<defs>
<path id="STIXNonUnicode-Italic-e238" d="M 4070 915
L 4179 800
Q 3347 -45 2413 -45
Q 2157 -45 1850 26
Q 1395 122 1146 122
Q 1005 122 672 61
Q 339 0 192 0
L 230 154
Q 582 154 730 749
L 1178 2566
Q 1286 3008 1516 3353
Q 1747 3699 2025 3894
Q 2304 4090 2585 4189
Q 2867 4288 3123 4288
Q 3443 4288 3593 4083
Q 3744 3878 3744 3584
Q 3744 3347 3593 3200
Q 3443 3053 3226 3053
Q 3085 3053 2995 3149
Q 2906 3245 2906 3379
Q 2906 3482 2957 3552
Q 3008 3622 3065 3644
Q 3123 3667 3174 3705
Q 3226 3744 3226 3789
Q 3226 4032 2854 4032
Q 2522 4032 2310 3785
Q 2099 3539 1990 3132
Q 1882 2726 1795 2284
Q 1709 1843 1549 1363
Q 1389 883 1158 589
L 1158 563
Q 1363 704 1888 704
Q 2227 704 2460 544
Q 2694 384 2963 384
Q 3507 384 4070 915
z
" transform="scale(0.015625)"/>
<path id="STIXGeneral-Regular-75" d="M 3072 320
L 3072 230
Q 2573 96 2195 -58
L 2163 -38
L 2163 486
L 2150 486
Q 1747 -64 1235 -64
Q 870 -64 662 160
Q 454 384 454 755
L 454 2362
Q 454 2598 371 2688
Q 288 2778 58 2790
L 58 2880
L 992 2880
L 992 813
Q 992 595 1123 451
Q 1254 307 1446 307
Q 1760 307 1984 506
Q 2067 582 2099 649
Q 2131 717 2131 877
L 2131 2355
Q 2131 2605 2041 2678
Q 1952 2752 1658 2771
L 1658 2880
L 2669 2880
L 2669 685
Q 2669 461 2742 390
Q 2816 320 3034 320
L 3072 320
z
" transform="scale(0.015625)"/>
<path id="STIXGeneral-Regular-74" d="M 1702 493
L 1786 422
Q 1478 -64 1011 -64
Q 448 -64 448 749
L 448 2675
L 109 2675
Q 83 2694 83 2720
Q 83 2771 192 2842
Q 435 2982 813 3526
Q 826 3546 874 3606
Q 922 3667 941 3706
Q 986 3706 986 3622
L 986 2880
L 1632 2880
L 1632 2675
L 986 2675
L 986 845
Q 986 538 1062 403
Q 1139 269 1318 269
Q 1510 269 1702 493
z
" transform="scale(0.015625)"/>
<path id="STIXGeneral-Regular-69" d="M 1152 4045
Q 1152 3904 1056 3811
Q 960 3718 819 3718
Q 685 3718 592 3811
Q 499 3904 499 4045
Q 499 4179 595 4275
Q 691 4371 826 4371
Q 966 4371 1059 4275
Q 1152 4179 1152 4045
z
M 1619 0
L 102 0
L 102 96
Q 435 115 521 211
Q 608 307 608 666
L 608 2118
Q 608 2342 563 2432
Q 518 2522 397 2522
Q 243 2522 128 2490
L 128 2592
L 1120 2944
L 1146 2918
L 1146 672
Q 1146 314 1226 218
Q 1306 122 1619 96
L 1619 0
z
" transform="scale(0.015625)"/>
<path id="STIXGeneral-Regular-6c" d="M 1645 0
L 134 0
L 134 96
Q 435 122 531 221
Q 627 320 627 589
L 627 3590
Q 627 3821 569 3910
Q 512 4000 358 4000
Q 224 4000 122 3987
L 122 4090
Q 730 4237 1133 4371
L 1165 4346
L 1165 557
Q 1165 288 1254 201
Q 1344 115 1645 96
L 1645 0
z
" transform="scale(0.015625)"/>
<path id="STIXGeneral-Regular-79" d="M 3040 2880
L 3040 2784
Q 2925 2771 2854 2700
Q 2784 2630 2720 2458
L 1760 -160
Q 1510 -838 1257 -1116
Q 1005 -1395 640 -1395
Q 435 -1395 313 -1289
Q 192 -1184 192 -1024
Q 192 -902 272 -816
Q 352 -730 467 -730
Q 653 -730 800 -813
Q 883 -858 966 -858
Q 1101 -858 1286 -576
Q 1376 -448 1459 -211
Q 1542 26 1542 115
Q 1542 198 1274 762
L 429 2566
Q 346 2752 90 2790
L 90 2880
L 1402 2880
L 1402 2784
Q 1197 2778 1117 2739
Q 1037 2701 1037 2611
Q 1037 2541 1120 2349
L 1837 749
L 2458 2515
Q 2483 2573 2483 2630
Q 2483 2784 2189 2784
L 2189 2880
L 3040 2880
z
" transform="scale(0.015625)"/>
<path id="STIXGeneral-Regular-3d" d="M 4077 2048
L 307 2048
L 307 2470
L 4077 2470
L 4077 2048
z
M 4077 768
L 307 768
L 307 1190
L 4077 1190
L 4077 768
z
" transform="scale(0.015625)"/>
<path id="STIXGeneral-Regular-2212" d="M 3974 1408
L 410 1408
L 410 1830
L 3974 1830
L 3974 1408
z
" transform="scale(0.015625)"/>
<path id="STIXGeneral-Regular-2211" d="M 5478 256
L 5139 -1658
L 371 -1658
L 2880 1606
L 531 4883
L 5312 4883
L 5312 3277
L 5120 3277
Q 5018 3949 4765 4205
Q 4512 4461 3891 4461
L 1843 4461
L 3699 1958
L 1549 -819
L 4198 -819
Q 4698 -819 4934 -550
Q 5171 -282 5286 256
L 5478 256
z
" transform="scale(0.015625)"/>
<path id="STIXGeneral-Italic-61" d="M 2963 710
L 3046 640
Q 2688 205 2518 70
Q 2349 -64 2157 -64
Q 1901 -64 1901 198
Q 1901 358 2048 934
Q 1690 397 1389 163
Q 1088 -70 749 -70
Q 467 -70 288 125
Q 109 320 109 672
Q 109 1158 387 1664
Q 666 2170 1094 2496
Q 1523 2822 1939 2822
Q 2368 2822 2451 2451
L 2522 2758
L 2541 2778
L 2931 2822
L 2976 2803
Q 2970 2778 2938 2669
Q 2368 595 2368 346
Q 2368 262 2458 262
Q 2554 262 2790 525
L 2963 710
z
M 2336 2310
Q 2336 2477 2240 2579
Q 2144 2682 1978 2682
Q 1542 2682 1139 2093
Q 928 1779 787 1395
Q 646 1011 646 717
Q 646 243 1030 243
Q 1408 243 1843 870
Q 2336 1581 2336 2310
z
" transform="scale(0.015625)"/>
<path id="STIXGeneral-Regular-2208" d="M 4000 -173
L 2138 -173
Q 1382 -173 883 355
Q 384 883 384 1612
Q 384 2342 877 2870
Q 1370 3398 2118 3398
L 4000 3398
L 4000 2976
L 2144 2976
Q 1664 2976 1286 2633
Q 909 2291 826 1824
L 4000 1824
L 4000 1402
L 819 1402
Q 902 934 1280 592
Q 1658 250 2138 250
L 4000 250
L 4000 -173
z
" transform="scale(0.015625)"/>
<path id="STIXGeneral-Italic-41" d="M 3610 0
L 2042 0
L 2042 102
Q 2330 115 2432 192
Q 2534 269 2534 442
Q 2534 493 2522 608
L 2394 1446
L 986 1446
L 608 736
Q 467 474 467 314
Q 467 122 864 102
L 864 0
L -326 0
L -326 102
Q -109 147 28 307
Q 166 467 531 1101
L 2355 4275
L 2522 4275
L 3110 736
Q 3174 339 3264 230
Q 3354 122 3610 102
L 3610 0
z
M 2362 1677
L 2074 3360
L 1120 1677
L 2362 1677
z
" transform="scale(0.015625)"/>
<path id="STIXGeneral-Regular-28" d="M 1946 -1030
L 1869 -1133
Q 1126 -710 716 32
Q 307 774 307 1613
Q 307 3386 1888 4326
L 1946 4224
Q 1293 3667 1075 3126
Q 858 2586 858 1632
Q 858 685 1082 96
Q 1306 -493 1946 -1030
z
" transform="scale(0.015625)"/>
<path id="STIXGeneral-Italic-78" d="M 1555 2272
L 1632 1907
Q 1971 2426 2179 2624
Q 2387 2822 2598 2822
Q 2714 2822 2787 2755
Q 2861 2688 2861 2585
Q 2861 2483 2800 2419
Q 2739 2355 2643 2355
Q 2586 2355 2490 2409
Q 2394 2464 2310 2464
Q 2125 2464 1683 1690
Q 1683 1606 1734 1402
L 1939 544
Q 2003 282 2131 282
Q 2234 282 2432 538
Q 2451 563 2476 598
Q 2502 634 2521 662
Q 2541 691 2566 717
L 2662 659
Q 2387 230 2227 80
Q 2067 -70 1882 -70
Q 1728 -70 1645 26
Q 1562 122 1504 365
L 1318 1126
L 755 365
Q 557 96 432 13
Q 307 -70 147 -70
Q 0 -70 -86 0
Q -173 70 -173 198
Q -173 294 -112 361
Q -51 429 45 429
Q 122 429 250 358
Q 346 301 416 301
Q 525 301 742 614
L 1267 1357
L 1088 2150
Q 1024 2432 969 2509
Q 915 2586 794 2586
Q 717 2586 544 2541
L 429 2509
L 410 2611
L 480 2637
Q 992 2822 1229 2822
Q 1350 2822 1420 2707
Q 1491 2592 1555 2272
z
" transform="scale(0.015625)"/>
<path id="STIXGeneral-Regular-29" d="M 186 4224
L 262 4326
Q 992 3891 1408 3148
Q 1824 2406 1824 1581
Q 1824 -166 243 -1133
L 186 -1030
Q 845 -486 1059 54
Q 1274 595 1274 1562
Q 1274 2534 1059 3120
Q 845 3706 186 4224
z
" transform="scale(0.015625)"/>
<path id="STIXGeneral-Italic-70" d="M 1376 2739
L 1190 2099
Q 1670 2822 2285 2822
Q 2637 2822 2829 2611
Q 3021 2400 3021 2022
Q 3021 1235 2422 582
Q 1824 -70 1120 -70
Q 890 -70 678 38
Q 422 -1018 422 -1024
Q 422 -1126 508 -1168
Q 595 -1210 819 -1210
L 819 -1312
L -480 -1312
L -480 -1210
Q -275 -1203 -188 -1120
Q -102 -1037 -45 -806
L 691 1958
Q 794 2330 794 2413
Q 794 2586 512 2586
L 371 2586
L 358 2682
L 1357 2822
Q 1389 2822 1389 2797
Q 1382 2765 1376 2739
z
M 2445 2003
Q 2445 2285 2352 2416
Q 2259 2547 2048 2547
Q 1798 2547 1548 2329
Q 1299 2112 1184 1818
Q 1043 1453 905 953
Q 768 454 768 294
Q 768 186 854 118
Q 941 51 1075 51
Q 1574 51 2003 659
Q 2445 1274 2445 2003
z
" transform="scale(0.015625)"/>
<path id="STIXGeneral-Regular-6f" d="M 3008 1478
Q 3008 806 2608 371
Q 2208 -64 1568 -64
Q 979 -64 582 368
Q 186 800 186 1459
Q 186 2125 582 2534
Q 979 2944 1626 2944
Q 2221 2944 2614 2537
Q 3008 2131 3008 1478
z
M 2432 1306
Q 2432 2035 2112 2445
Q 1856 2765 1504 2765
Q 1171 2765 966 2493
Q 762 2221 762 1747
Q 762 928 1101 435
Q 1318 115 1677 115
Q 2029 115 2230 432
Q 2432 749 2432 1306
z
" transform="scale(0.015625)"/>
<path id="STIXGeneral-Regular-77" d="M 4442 2880
L 4442 2784
Q 4346 2752 4301 2691
Q 4256 2630 4179 2438
L 3296 224
Q 3168 -90 3117 -90
Q 3085 -90 3062 -48
Q 3040 -6 2963 186
L 2381 1696
L 1664 160
Q 1549 -90 1504 -90
Q 1446 -90 1338 192
L 474 2381
Q 378 2630 314 2700
Q 250 2771 134 2784
L 134 2880
L 1286 2880
L 1286 2784
Q 1120 2765 1056 2720
Q 992 2675 992 2573
Q 992 2477 1030 2381
L 1664 710
L 2246 1984
L 2118 2342
Q 2029 2598 1942 2681
Q 1856 2765 1677 2784
L 1677 2880
L 2976 2880
L 2976 2784
Q 2752 2752 2678 2707
Q 2605 2662 2605 2560
Q 2605 2458 2714 2176
L 3251 742
L 3827 2163
Q 3936 2432 3936 2592
Q 3936 2669 3875 2710
Q 3814 2752 3654 2784
L 3654 2880
L 4442 2880
z
" transform="scale(0.015625)"/>
<path id="STIXGeneral-Italic-75" d="M 2950 762
L 3040 704
Q 2733 237 2560 89
Q 2387 -58 2157 -58
Q 1850 -58 1850 250
Q 1850 538 2138 1510
Q 1568 576 1257 253
Q 947 -70 608 -70
Q 269 -70 269 269
Q 269 384 442 1088
L 666 1978
Q 755 2349 755 2406
Q 755 2483 684 2521
Q 614 2560 365 2560
L 365 2650
Q 806 2701 1325 2822
L 1350 2803
L 781 531
Q 762 474 762 429
Q 762 269 890 269
Q 1178 269 1798 1210
Q 2010 1530 2128 1795
Q 2246 2061 2502 2765
L 2976 2765
L 2470 851
Q 2349 390 2349 352
Q 2349 243 2419 243
Q 2496 243 2605 345
Q 2714 448 2950 762
z
" transform="scale(0.015625)"/>
</defs>
<use xlink:href="#STIXNonUnicode-Italic-e238" transform="translate(0 0.703125)"/>
<use xlink:href="#STIXGeneral-Regular-75" transform="translate(70.843269 -12.525) scale(0.7)"/>
<use xlink:href="#STIXGeneral-Regular-74" transform="translate(105.843258 -12.525) scale(0.7)"/>
<use xlink:href="#STIXGeneral-Regular-69" transform="translate(125.30325 -12.525) scale(0.7)"/>
<use xlink:href="#STIXGeneral-Regular-6c" transform="translate(144.763241 -12.525) scale(0.7)"/>
<use xlink:href="#STIXGeneral-Regular-69" transform="translate(164.223233 -12.525) scale(0.7)"/>
<use xlink:href="#STIXGeneral-Regular-74" transform="translate(183.683224 -12.525) scale(0.7)"/>
<use xlink:href="#STIXGeneral-Regular-79" transform="translate(203.143216 -12.525) scale(0.7)"/>
<use xlink:href="#STIXGeneral-Regular-3d" transform="translate(256.992576 0.703125)"/>
<use xlink:href="#STIXGeneral-Regular-2212" transform="translate(339.932557 0.703125)"/>
<use xlink:href="#STIXGeneral-Regular-2211" transform="translate(480.432542 0.703125)"/>
<use xlink:href="#STIXGeneral-Italic-61" transform="translate(408.432542 -91.26875) scale(0.7)"/>
<use xlink:href="#STIXGeneral-Regular-2208" transform="translate(453.610533 -91.26875) scale(0.7)"/>
<use xlink:href="#STIXGeneral-Italic-41" transform="translate(511.66852 -91.26875) scale(0.7)"/>
<use xlink:href="#STIXGeneral-Regular-28" transform="translate(554.438513 -91.26875) scale(0.7)"/>
<use xlink:href="#STIXGeneral-Italic-78" transform="translate(577.748505 -91.26875) scale(0.7)"/>
<use xlink:href="#STIXGeneral-Regular-29" transform="translate(608.828501 -91.26875) scale(0.7)"/>
<use xlink:href="#STIXGeneral-Italic-70" transform="translate(632.138492 0.703125)"/>
<use xlink:href="#STIXGeneral-Regular-6c" transform="translate(682.538486 -12.525) scale(0.7)"/>
<use xlink:href="#STIXGeneral-Regular-6f" transform="translate(701.998477 -12.525) scale(0.7)"/>
<use xlink:href="#STIXGeneral-Regular-77" transform="translate(736.998467 -12.525) scale(0.7)"/>
<use xlink:href="#STIXGeneral-Regular-28" transform="translate(791.947829 0.703125)"/>
<use xlink:href="#STIXGeneral-Italic-61" transform="translate(825.247817 0.703125)"/>
<use xlink:href="#STIXGeneral-Regular-29" transform="translate(875.347808 0.703125)"/>
<use xlink:href="#STIXGeneral-Italic-75" transform="translate(920.681366 0.703125)"/>
<use xlink:href="#STIXGeneral-Regular-28" transform="translate(970.681351 0.703125)"/>
<use xlink:href="#STIXGeneral-Italic-61" transform="translate(1003.981339 0.703125)"/>
<use xlink:href="#STIXGeneral-Regular-29" transform="translate(1054.08133 0.703125)"/>
</g>
</g>
</g>
</svg>
|