ct83

ct83 / bunyip_gpt_detector / 1.0.6

bunyip_gpt_detector

Royalty Free
No Tags
Language
Python 3.x
Metrics
API Calls - 272 Avg call duration - 10.68sec
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More
This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.
This allows an algorithm to compose sophisticated functionality using other algorithms as building blocks , however it also carries the potential of incurring additional royalty and usage costs from any algorithm that it calls .

Run an Example

Input
Output
{
  "result": {
    "bpe_strings": [
      "<|endoftext|>",
      "En",
      "sure",
      "Ġyou",
      "Ġhave",
      "Ġa",
      "Ġclear",
      "Ġsimple",
      "Ġworking",
      "Ġexample",
      "Ġbecause",
      "Ġit",
      "Ġhelps",
      "Ġothers",
      "Ġunderstand",
      "Ġyour",
      "Ġalgorithm",
      "Ġ"
    ],
    "pred_topk": [
      [
        [
          "Ċ",
          0.0623
        ],
        [
          "The",
          0.0377
        ],
        [
          "\"",
          0.02411
        ],
        [
          "A",
          0.0194
        ],
        [
          "I",
          0.01832
        ],
        [
          "In",
          0.01158
        ],
        [
          ".",
          0.0113
        ],
        [
          "It",
          0.00912
        ],
        [
          "S",
          0.00866
        ],
        [
          "This",
          0.00777
        ],
        [
          "B",
          0.00769
        ],
        [
          "-",
          0.00765
        ],
        [
          "C",
          0.00719
        ],
        [
          "We",
          0.00701
        ],
        [
          "1",
          0.00671
        ],
        [
          "T",
          0.00665
        ],
        [
          "'",
          0.006
        ],
        [
          "P",
          0.00575
        ],
        [
          "(",
          0.00575
        ],
        [
          "G",
          0.00551
        ]
      ],
      [
        [
          "chant",
          0.12769
        ],
        [
          "sure",
          0.05518
        ],
        [
          "emies",
          0.05473
        ],
        [
          "emy",
          0.04536
        ],
        [
          "cyclopedia",
          0.03933
        ],
        [
          "s",
          0.03347
        ],
        [
          "forcement",
          0.03289
        ],
        [
          "abling",
          0.02822
        ],
        [
          "counter",
          0.02716
        ],
        [
          "chanted",
          0.02457
        ],
        [
          "rique",
          0.02325
        ],
        [
          "thus",
          0.02093
        ],
        [
          "rollment",
          0.019
        ],
        [
          "core",
          0.01599
        ],
        [
          "closed",
          0.01155
        ],
        [
          "raged",
          0.0105
        ],
        [
          "list",
          0.0098
        ],
        [
          "listed",
          0.00949
        ],
        [
          "riched",
          0.00949
        ],
        [
          "velop",
          0.00836
        ]
      ],
      [
        [
          "Ġthat",
          0.30514
        ],
        [
          "Ġyou",
          0.14709
        ],
        [
          "Ġyour",
          0.10873
        ],
        [
          "Ġthe",
          0.08533
        ],
        [
          "Ġall",
          0.01807
        ],
        [
          "Ġa",
          0.01219
        ],
        [
          "Ġit",
          0.0111
        ],
        [
          "Ġto",
          0.00814
        ],
        [
          "Ġthere",
          0.00785
        ],
        [
          "Ġthey",
          0.00602
        ],
        [
          "Ġthis",
          0.00487
        ],
        [
          "ĠYour",
          0.00361
        ],
        [
          "Ġwe",
          0.00315
        ],
        [
          "Ġeverything",
          0.00313
        ],
        [
          ":",
          0.00288
        ],
        [
          "Ġevery",
          0.0028
        ],
        [
          "Ġeveryone",
          0.00255
        ],
        [
          "Ġan",
          0.00229
        ],
        [
          "Ċ",
          0.00229
        ],
        [
          "ĠYou",
          0.00224
        ]
      ],
      [
        [
          "Ġhave",
          0.19745
        ],
        [
          "'re",
          0.1309
        ],
        [
          "Ġare",
          0.08224
        ],
        [
          "Ġget",
          0.05475
        ],
        [
          "'ve",
          0.04164
        ],
        [
          "Ġcan",
          0.03025
        ],
        [
          "Ġdon",
          0.02939
        ],
        [
          "Ġknow",
          0.02202
        ],
        [
          "Ġuse",
          0.022
        ],
        [
          "Ġcheck",
          0.01464
        ],
        [
          "Ġalways",
          0.01325
        ],
        [
          "Ġreceive",
          0.01213
        ],
        [
          "Ġunderstand",
          0.01139
        ],
        [
          "Ġread",
          0.01081
        ],
        [
          "Ġkeep",
          0.00881
        ],
        [
          "Ġdo",
          0.00858
        ],
        [
          "Ġfollow",
          0.00771
        ],
        [
          "Ġsee",
          0.00635
        ],
        [
          "Ġnever",
          0.00589
        ],
        [
          "Ġtake",
          0.00515
        ]
      ],
      [
        [
          "Ġthe",
          0.18036
        ],
        [
          "Ġa",
          0.14178
        ],
        [
          "Ġan",
          0.0418
        ],
        [
          "Ġyour",
          0.03811
        ],
        [
          "Ġall",
          0.03562
        ],
        [
          "Ġinstalled",
          0.01832
        ],
        [
          "Ġaccess",
          0.01569
        ],
        [
          "Ġenough",
          0.01515
        ],
        [
          "Ġread",
          0.01136
        ],
        [
          "Ġat",
          0.01082
        ],
        [
          "Ġbeen",
          0.00743
        ],
        [
          "Ġsome",
          0.00613
        ],
        [
          "ĠJavaScript",
          0.00564
        ],
        [
          "Ġupdated",
          0.00503
        ],
        [
          "Ġthis",
          0.00497
        ],
        [
          "Ġboth",
          0.00467
        ],
        [
          ":",
          0.00459
        ],
        [
          "Ġdownloaded",
          0.0045
        ],
        [
          "Ġsufficient",
          0.00446
        ],
        [
          "Ġeverything",
          0.00415
        ]
      ],
      [
        [
          "Ġgood",
          0.05813
        ],
        [
          "Ġvalid",
          0.03113
        ],
        [
          "Ġcopy",
          0.02654
        ],
        [
          "Ġreliable",
          0.01609
        ],
        [
          "Ġbackup",
          0.01496
        ],
        [
          "Ġclean",
          0.01323
        ],
        [
          "Ġworking",
          0.01216
        ],
        [
          "Ġsolid",
          0.01138
        ],
        [
          "Ġfull",
          0.00885
        ],
        [
          "Ġsecure",
          0.00832
        ],
        [
          "Ġgreat",
          0.00785
        ],
        [
          "Ġstrong",
          0.00733
        ],
        [
          "Ġsafe",
          0.0073
        ],
        [
          "Ġcomplete",
          0.00669
        ],
        [
          "Ġcompatible",
          0.00638
        ],
        [
          "ĠUSB",
          0.00627
        ],
        [
          "Ġhigh",
          0.006
        ],
        [
          "Ġdecent",
          0.00592
        ],
        [
          "Ġpassword",
          0.00577
        ],
        [
          "Ġminimum",
          0.00524
        ]
      ],
      [
        [
          "Ġunderstanding",
          0.12836
        ],
        [
          "Ġview",
          0.06242
        ],
        [
          "Ġidea",
          0.05609
        ],
        [
          "Ġand",
          0.04773
        ],
        [
          ",",
          0.04752
        ],
        [
          "Ġvision",
          0.02923
        ],
        [
          "Ġpath",
          0.02703
        ],
        [
          "Ġpicture",
          0.02322
        ],
        [
          "Ġplan",
          0.01788
        ],
        [
          "Ġmind",
          0.01343
        ],
        [
          "Ġcopy",
          0.00846
        ],
        [
          "Ġhead",
          0.00745
        ],
        [
          "Ġway",
          0.00697
        ],
        [
          "-",
          0.00606
        ],
        [
          "Ġmemory",
          0.00586
        ],
        [
          "Ġrecord",
          0.0056
        ],
        [
          "Ġset",
          0.00545
        ],
        [
          "Ġsense",
          0.00544
        ],
        [
          "Ġroadmap",
          0.0054
        ],
        [
          "Ġconscience",
          0.00492
        ]
      ],
      [
        [
          "Ġway",
          0.02943
        ],
        [
          "Ġand",
          0.02373
        ],
        [
          ",",
          0.02089
        ],
        [
          "Ġpassword",
          0.0191
        ],
        [
          "Ġplan",
          0.0166
        ],
        [
          "Ġlist",
          0.01476
        ],
        [
          "Ġrule",
          0.01461
        ],
        [
          "Ġname",
          0.01376
        ],
        [
          "Ġguide",
          0.01367
        ],
        [
          "-",
          0.0135
        ],
        [
          "Ġsolution",
          0.01258
        ],
        [
          "Ġinterface",
          0.00894
        ],
        [
          "Ġmessage",
          0.00888
        ],
        [
          "Ġanswer",
          0.00871
        ],
        [
          "Ġset",
          0.0086
        ],
        [
          "Ġpath",
          0.00795
        ],
        [
          "Ġmenu",
          0.00767
        ],
        [
          "Ġexplanation",
          0.00704
        ],
        [
          "Ġto",
          0.00684
        ],
        [
          "Ġunderstanding",
          0.00619
        ]
      ],
      [
        [
          "Ġmemory",
          0.11591
        ],
        [
          "Ġdirectory",
          0.07836
        ],
        [
          "Ġcopy",
          0.06097
        ],
        [
          "Ġtitle",
          0.03132
        ],
        [
          "Ġfolder",
          0.01859
        ],
        [
          "Ġlist",
          0.01814
        ],
        [
          "Ġknowledge",
          0.01784
        ],
        [
          "Ġpassword",
          0.01695
        ],
        [
          "Ġorder",
          0.01493
        ],
        [
          "Ġenvironment",
          0.01452
        ],
        [
          "Ġrecord",
          0.01174
        ],
        [
          "Ġmodel",
          0.0115
        ],
        [
          "Ġformat",
          0.01111
        ],
        [
          "Ġday",
          0.01053
        ],
        [
          "Ġdefinition",
          0.01006
        ],
        [
          "Ġsystem",
          0.00953
        ],
        [
          "Ġname",
          0.00941
        ],
        [
          "Ġschedule",
          0.0093
        ],
        [
          "Ġset",
          0.00914
        ],
        [
          "Ġexample",
          0.00911
        ]
      ],
      [
        [
          "Ġof",
          0.31242
        ],
        [
          ".",
          0.09538
        ],
        [
          "Ġto",
          0.07393
        ],
        [
          "Ġfor",
          0.06465
        ],
        [
          ",",
          0.03956
        ],
        [
          "Ġthat",
          0.03689
        ],
        [
          "Ġand",
          0.03219
        ],
        [
          "Ġin",
          0.02904
        ],
        [
          "Ġwith",
          0.01924
        ],
        [
          "Ċ",
          0.01828
        ],
        [
          "Ġbefore",
          0.01378
        ],
        [
          "Ġwhen",
          0.01287
        ],
        [
          "Ġ(",
          0.01242
        ],
        [
          ":",
          0.01215
        ],
        [
          "Ġon",
          0.0108
        ],
        [
          "Ġfrom",
          0.00909
        ],
        [
          "Ġwhere",
          0.00903
        ],
        [
          "Ġusing",
          0.00687
        ],
        [
          "Ġor",
          0.00671
        ],
        [
          "Ġso",
          0.00629
        ]
      ],
      [
        [
          "Ġyou",
          0.14195
        ],
        [
          "Ġit",
          0.10459
        ],
        [
          "Ġthis",
          0.07241
        ],
        [
          "Ġthe",
          0.06936
        ],
        [
          "Ġwe",
          0.0651
        ],
        [
          "Ġif",
          0.03772
        ],
        [
          "Ġthere",
          0.03509
        ],
        [
          "ĠI",
          0.03372
        ],
        [
          "Ġyour",
          0.02329
        ],
        [
          "Ġthat",
          0.02175
        ],
        [
          "Ġwhen",
          0.0159
        ],
        [
          ",",
          0.01283
        ],
        [
          "Ġin",
          0.0117
        ],
        [
          "Ġa",
          0.01123
        ],
        [
          "Ġthey",
          0.01018
        ],
        [
          "Ġmost",
          0.00944
        ],
        [
          "Ġthese",
          0.00897
        ],
        [
          "Ġall",
          0.00875
        ],
        [
          "Ġsome",
          0.00836
        ],
        [
          "Ġour",
          0.00799
        ]
      ],
      [
        [
          "Ġwill",
          0.26778
        ],
        [
          "Ġis",
          0.16928
        ],
        [
          "'s",
          0.14492
        ],
        [
          "Ġcan",
          0.05296
        ],
        [
          "Ġmay",
          0.02342
        ],
        [
          "Ġshould",
          0.02071
        ],
        [
          "Ġhelps",
          0.01893
        ],
        [
          "Ġgives",
          0.01497
        ],
        [
          "Ġmight",
          0.01373
        ],
        [
          "'ll",
          0.01287
        ],
        [
          "Ġshows",
          0.01248
        ],
        [
          "Ġwon",
          0.01212
        ],
        [
          "Ġmakes",
          0.01175
        ],
        [
          "Ġdoesn",
          0.01111
        ],
        [
          "Ġhas",
          0.01074
        ],
        [
          "Ġmeans",
          0.0077
        ],
        [
          "Ġcould",
          0.00739
        ],
        [
          "Ġallows",
          0.00736
        ],
        [
          "Ġprovides",
          0.00716
        ],
        [
          "Ġdoes",
          0.00685
        ]
      ],
      [
        [
          "Ġyou",
          0.27665
        ],
        [
          "Ġto",
          0.14016
        ],
        [
          "Ġus",
          0.09394
        ],
        [
          "Ġme",
          0.0255
        ],
        [
          "Ġthe",
          0.01823
        ],
        [
          "Ġwith",
          0.01801
        ],
        [
          "Ġyour",
          0.01621
        ],
        [
          "Ġmake",
          0.01333
        ],
        [
          "Ġpeople",
          0.01244
        ],
        [
          "Ġkeep",
          0.01099
        ],
        [
          "Ġa",
          0.01053
        ],
        [
          "Ġexplain",
          0.00929
        ],
        [
          ".",
          0.00925
        ],
        [
          "Ġget",
          0.00902
        ],
        [
          "Ġbuild",
          0.00841
        ],
        [
          "Ġin",
          0.00726
        ],
        [
          "Ġothers",
          0.00708
        ],
        [
          "Ġshow",
          0.00614
        ],
        [
          "Ġguide",
          0.00514
        ],
        [
          "Ġwhen",
          0.00485
        ]
      ],
      [
        [
          "Ġto",
          0.27527
        ],
        [
          "Ġunderstand",
          0.12601
        ],
        [
          ".",
          0.07661
        ],
        [
          "Ġfind",
          0.03122
        ],
        [
          "Ġwho",
          0.02938
        ],
        [
          "Ġin",
          0.02707
        ],
        [
          "Ġwith",
          0.02522
        ],
        [
          "Ġlearn",
          0.02158
        ],
        [
          "Ġand",
          0.02003
        ],
        [
          "Ġmake",
          0.01821
        ],
        [
          "Ġget",
          0.01726
        ],
        [
          ",",
          0.01636
        ],
        [
          "Ġsee",
          0.01212
        ],
        [
          "Ġknow",
          0.01063
        ],
        [
          "Ġout",
          0.00788
        ],
        [
          "Ġas",
          0.00694
        ],
        [
          "Ġby",
          0.00646
        ],
        [
          "Ġtoo",
          0.0062
        ],
        [
          "Ġbetter",
          0.00581
        ],
        [
          "Ġlike",
          0.00551
        ]
      ],
      [
        [
          "Ġyour",
          0.18392
        ],
        [
          "Ġwhat",
          0.17653
        ],
        [
          "Ġthe",
          0.17108
        ],
        [
          "Ġhow",
          0.15948
        ],
        [
          "Ġand",
          0.03425
        ],
        [
          "Ġwhy",
          0.02544
        ],
        [
          "Ġyou",
          0.02229
        ],
        [
          "Ġthat",
          0.01694
        ],
        [
          ".",
          0.01632
        ],
        [
          "Ġthis",
          0.01583
        ],
        [
          "Ġit",
          0.01553
        ],
        [
          "Ġwhere",
          0.00961
        ],
        [
          "Ġtheir",
          0.00698
        ],
        [
          "Ġmore",
          0.00585
        ],
        [
          "Ġour",
          0.00529
        ],
        [
          ",",
          0.00509
        ],
        [
          "Ġwhich",
          0.00483
        ],
        [
          "Ġthese",
          0.00478
        ],
        [
          "Ġwhen",
          0.0043
        ],
        [
          "Ġthem",
          0.00412
        ]
      ],
      [
        [
          "Ġproject",
          0.06824
        ],
        [
          "Ġwork",
          0.04212
        ],
        [
          "Ġcode",
          0.03414
        ],
        [
          "Ġneeds",
          0.02912
        ],
        [
          "Ġapplication",
          0.02468
        ],
        [
          "Ġworkflow",
          0.02261
        ],
        [
          "Ġproblem",
          0.02037
        ],
        [
          "Ġsituation",
          0.02014
        ],
        [
          "Ġapp",
          0.01667
        ],
        [
          "Ġprocess",
          0.01587
        ],
        [
          "Ġsystem",
          0.01406
        ],
        [
          "Ġexperience",
          0.01263
        ],
        [
          "Ġapproach",
          0.01259
        ],
        [
          "Ġbusiness",
          0.0119
        ],
        [
          "Ġlanguage",
          0.01164
        ],
        [
          "Ġprogram",
          0.0111
        ],
        [
          "Ġskills",
          0.01082
        ],
        [
          "Ġdesign",
          0.00966
        ],
        [
          "Ġown",
          0.00898
        ],
        [
          "Ġgame",
          0.0088
        ]
      ],
      [
        [
          ".",
          0.3752
        ],
        [
          "Ġand",
          0.16916
        ],
        [
          "Ġbetter",
          0.12413
        ],
        [
          ",",
          0.04955
        ],
        [
          "Ċ",
          0.02815
        ],
        [
          "Ġas",
          0.01675
        ],
        [
          "Ġin",
          0.01164
        ],
        [
          "Ġmore",
          0.00968
        ],
        [
          "Ġto",
          0.00911
        ],
        [
          "Ġfor",
          0.00888
        ],
        [
          "Ġ(",
          0.008
        ],
        [
          "Ġso",
          0.00778
        ],
        [
          "Ġor",
          0.00768
        ],
        [
          "!",
          0.00752
        ],
        [
          "'s",
          0.00722
        ],
        [
          "Ġby",
          0.0065
        ],
        [
          "Ġwhen",
          0.00499
        ],
        [
          "Ġtoo",
          0.00478
        ],
        [
          ":",
          0.00362
        ],
        [
          "Ġwell",
          0.00348
        ]
      ]
    ],
    "real_topk": [
      [
        245,
        0.00048
      ],
      [
        1,
        0.05518
      ],
      [
        1,
        0.14709
      ],
      [
        0,
        0.19745
      ],
      [
        1,
        0.14178
      ],
      [
        20,
        0.00492
      ],
      [
        3207,
        0.00001
      ],
      [
        113,
        0.00145
      ],
      [
        19,
        0.00911
      ],
      [
        51,
        0.00075
      ],
      [
        1,
        0.10459
      ],
      [
        6,
        0.01893
      ],
      [
        16,
        0.00708
      ],
      [
        1,
        0.12601
      ],
      [
        0,
        0.18392
      ],
      [
        251,
        0.00048
      ],
      [
        193,
        0.00011
      ]
    ]
  },
  "text": "Ensure you have a clear simple working example because it helps others understand your algorithm "
}

Install and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

$ algo auth
# When prompted for api endpoint, hit enter
# When prompted for API key, enter your key: YOUR_API_KEY
CLI Install Docs

Use



    algo run ct83/bunyip_gpt_detector/1.0.6 -d '{"text":"Ensure you have a clear, simple, working example because it helps others understand your algorithm."}' --timeout 300
  
CLI Docs