Row 50086
Content Data
This page contains data entry 50086 from the Axioma AXP content repository. The structured data below represents the complete record for this entry.
They probably mean the model's tokenizer:
https://github.com/openai/tiktoken
>import tiktoken > >enc = tiktoken.get_encoding("o200k_base") > >assert enc.decode(enc.encode("hello world")) == "hello world" > >\# To get the tokeniser corresponding to a specific model in the OpenAI API: > >enc = tiktoken.encoding_for_model("gpt-4o")
| Field | Value |
|---|---|
| text | They probably mean the model's tokenizer: https://github.com/openai/tiktoken >import tiktoken > >enc = tiktoken.get_encoding("o200k_base") > >assert enc.decode(enc.encode("hello world")) == "hello world" > >\# To get the tokeniser corresponding to a specific model in the OpenAI API: > >enc = tiktoken.encoding_for_model("gpt-4o") |
| label | r/artificial |
| dataType | comment |
| communityName | r/artificial |
| datetime | 2024-05-22 |
| username_encoded | Z0FBQUFBQm5Lak1Td2pEelJ6RnQ3RVR2d2NKRUJvcTBPWDRNMXNDTFhlZTZESW05TjZYclFDUWxMckNOMFh6U0gxZlBOaXBjcDdUNTlIalJNMUpnWndwZ0lOMDJzRzdKa3c9PQ== |
| url_encoded | Z0FBQUFBQm5Lak9pTktMRGY4VExOZGt5Z3VhdGpvMU5yQlVNMi1LeGE2UDl1LUN0YWUyVWJyZ285NWlXbG9SNUxGNDVKYWtmTG1uSHJVa0FTb2VsNVhRX0cyR2FOdXZaWnpWUDYtbmtTUkZkVmR6d0tuVFR4THMyNE5NSC1EMkJWdHBHZExPdTBLMFY5QllMZE42QU9QcVB6TnpseC1JZFdxUUtubnJVMDRIODR4dnNUeFM4cGo0aEd4VHpEVHJQOTVnR1VROGNjbVZ0b3Q3MUpObzczQmt1OUlzUDdtYW5ydz09 |
Raw Record
{
"text": "They probably mean the model's tokenizer:\n\nhttps://github.com/openai/tiktoken\n\n>import tiktoken\n>\n>enc = tiktoken.get_encoding(\"o200k_base\")\n>\n>assert enc.decode(enc.encode(\"hello world\")) == \"hello world\"\n>\n>\\# To get the tokeniser corresponding to a specific model in the OpenAI API:\n>\n>enc = tiktoken.encoding_for_model(\"gpt-4o\")",
"label": "r/artificial",
"dataType": "comment",
"communityName": "r/artificial",
"datetime": "2024-05-22",
"username_encoded": "Z0FBQUFBQm5Lak1Td2pEelJ6RnQ3RVR2d2NKRUJvcTBPWDRNMXNDTFhlZTZESW05TjZYclFDUWxMckNOMFh6U0gxZlBOaXBjcDdUNTlIalJNMUpnWndwZ0lOMDJzRzdKa3c9PQ==",
"url_encoded": "Z0FBQUFBQm5Lak9pTktMRGY4VExOZGt5Z3VhdGpvMU5yQlVNMi1LeGE2UDl1LUN0YWUyVWJyZ285NWlXbG9SNUxGNDVKYWtmTG1uSHJVa0FTb2VsNVhRX0cyR2FOdXZaWnpWUDYtbmtTUkZkVmR6d0tuVFR4THMyNE5NSC1EMkJWdHBHZExPdTBLMFY5QllMZE42QU9QcVB6TnpseC1JZFdxUUtubnJVMDRIODR4dnNUeFM4cGo0aEd4VHpEVHJQOTVnR1VROGNjbVZ0b3Q3MUpObzczQmt1OUlzUDdtYW5ydz09"
}
Entry Information
- Entry ID: 50086
- Repository: Axioma AXP
- Dataset: arrmlet/reddit_dataset_36
- Total Entries: 100,000