tiktoken
chat-with-gpt
tiktoken | chat-with-gpt | |
---|---|---|
32 | 39 | |
9,980 | 2,267 | |
6.4% | - | |
6.7 | 5.3 | |
about 1 month ago | 24 days ago | |
Python | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tiktoken
- FLaNK AI - 01 April 2024
-
GPT-3.5 crashes when it thinks about useRalativeImagePath too much
Their tokenizer is open source: https://github.com/openai/tiktoken
Data files that contain vocabulary are listed here: https://github.com/openai/tiktoken/blob/9e79899bc248d5313c7d...
-
How fast is JS tiktoken?
OpenAI's refference tokeniser - https://github.com/openai/tiktoken
-
Anthropic announces Claude 2.1 – 200k context, less refusals
ChatGPT presumably adds them as special tokens to the cl100k_base tokenizer, as they demo in the tiktoken documentation: https://github.com/openai/tiktoken#extending-tiktoken
-
What is the best way to get an approximate number of tokens for a piece of text?
I want to measure the approximate number of tokens in a piece of text to understand if I will need to modify it before passing it into the context of an OpenAI API call. Tiktoken can do this, but I'm not sure if it's overkill to use that library just for this simple task. I don't need to actually tokenize the text, I just need an approximate count (e.g. within like 1% of the text's actual token length for text that represents the visible text on a webpage).
-
Show HN: LLaMA tokenizer that runs in browser
https://platform.openai.com/tokenizer or the official python library tiktoken https://github.com/openai/tiktoken or this JS port of tiktoken https://github.com/dqbd/tiktoken
-
Made a GPT-3.5-Turbo and GPT-4 Tokenizer
It's built on top of the tiktoken library and is basically just a lambda function in the backend.
- AiPrice - an API for calculating OpenAI tokens and pricing
-
Anyone able to explain what happened here?
"All" is a single token in OpenAI's tiktoken Tokenizer, unrelated to the token for capital "A". Even lowercase "all" is a distinct token from "All" or "ALL."
-
Which lib is the tokenizer page using to calculate the tokens?
check tiktoken
chat-with-gpt
- Different chatGPT 4 API Interface?
-
Using API as a more powerful ChatGPT?
you can use https://www.chatwithgpt.ai/ , I like this + it's open source.
- I use chatGPT for hours everyday and can say 100% it's been nerfed over the last month or so. As an example it can't solve the same types of css problems that it could before. Imagine if you were talking to someone everyday and their iq suddenly dropped 20%, you'd notice. People are noticing.
- Hot Take: ChatGPT is not getting dumber, you are.
-
Show HN: LLaMA tokenizer that runs in browser
https://github.com/cogentapps/chat-with-gpt/blob/main/app/sr...
-
Is there a way to use one conversation as context for another?
Do you have api access? I use this repo called chat with chatgpt https://github.com/cogentapps/chat-with-gpt It literally is chatgpt website same look feel and conversation history, but you can adjust the creativeness (called temperature) the system prompt and what version you want to use.
-
OpenAI Employee: GPT-4 hasn't gotten worse since March
We've been using https://github.com/cogentapps/chat-with-gpt for a while, and overall happy with it, but its development is mostly dead.
-
I have been talking to the GPT-4 32k context length version for a couple of hours straight, and I can see how the average person might mistake it for some kind of intelligent living being after a few hours.
There are apps available that will take care of all this for you: https://github.com/cogentapps/chat-with-gpt is a popular one, if you need help to get it up and running just ask GPT-4 with 'browse with bing' to take a look and lead you by the hand
- Has ChatGPT Been Neutered?
-
What's the best ChatGPT web or Mac desktop client that let's you organize or search your past conversations?
So far I've tried https://github.com/ztjhz/BetterChatGPT and https://github.com/cogentapps/chat-with-gpt but I'm wondering if there is anything out there more robust? A Mac desktop client would be preferred if anyone knows? I tried MacGPT but the main functionality I am looking for is an ability to sort, search and potentially tag my conversations. Any leads would be appreciated! Much thanks!
What are some alternatives?
tokenizer - Pure Go implementation of OpenAI's tiktoken tokenizer
ChatGPT-Next-Web - A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。
daath-ai-parser - Daath AI Parser is an open-source application that uses OpenAI to parse visible text of HTML elements.
LibreChat - Enhanced ChatGPT Clone: Features OpenAI, Assistants API, Azure, Groq, GPT-4 Vision, Mistral, Bing, Anthropic, OpenRouter, Vertex AI, Gemini, AI model switching, message search, langchain, DALL-E-3, ChatGPT Plugins, OpenAI Functions, Secure Multi-User System, Presets, completely open-source for self-hosting. More features in development
CLIP - CLIP (Contrastive Language-Image Pretraining), Predict the most relevant text snippet given an image
chatwithme.chat - Open source ChatGPT UI
skypilot - SkyPilot: Run LLMs, AI, and Batch jobs on any cloud. Get maximum savings, highest GPU availability, and managed execution—all with a simple interface.
plurality - A cornucopia of open source UIs built with ChatGPT API.
bricks - Open-source natural language enrichments at your fingertips.
human-eval - Code for the paper "Evaluating Large Language Models Trained on Code"
terminal-copilot - A smart terminal assistant that helps you find the right command.
ruby-openai - OpenAI API + Ruby! 🤖❤️ Now with Assistants v2, Batches & Ollama/Groq 🚀