tiktoken
devspace
tiktoken | devspace | |
---|---|---|
32 | 48 | |
9,980 | 4,102 | |
6.4% | 1.6% | |
6.7 | 8.1 | |
about 1 month ago | 7 days ago | |
Python | Go | |
MIT License | Apache License 2.0 |
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
devspace
- I Need a Tool to Develop on Kubernetes
-
Noob question: How do you setup your local dev environment?
Check also devspace.sh and okteto.com
- FLiP Stack Weekly 19-dec-2022
- Debugging code without rebuilding image
-
How do tools like Skaffold, Tilt, and DevSpace compare to Docker?
There is actually a built-in converter from docker-compose.yaml to devspace.yaml, it is part of the "devspace init" command. There are a few known issues related to it, in case you would like to contribute :)
-
Ask r/kubernetes: What are you working on this week?
Wrapping https://devspace.sh in my company's internal CLI to improve development experience
-
Implementing a "Google Cloud Shell" for native cloud development?
For Kubernetes clusters, https://devspace.sh/ allows you to iterate on your app in a running pod from your IDE. No ci/cd pipeline, no re-applying manifests; it just uploads source code from your local machine and restarts your app for you in an existing pod. Pretty slick!!! But it requires K8s, so some devs may balk at it. (Tilt and Skaffold do the same thing)
-
DevSpace 6 is Here!
We’re excited to announce that DevSpace version 6 has been released. Thanks to everyone who used the alpha and beta versions and gave us feedback.
-
Launch HN: Nimbus (YC W22) – Cloud dev environments for teams
DevSpace is free, lets you develop natively in the cloud on any K8s cluster. Compatible with any multitenancy solution, policy governance, etc. Works with your IDE of choice. Declarative configuration. Supports custom pipelines and deploy logic. Can link multiple environments together. https://devspace.sh/
-
Best Practices? Docker Compose Local Dev / k8s Production?
My favourite tool in this category is Devspace. As you've requested it is capable of building and deploying multiple images.
What are some alternatives?
tokenizer - Pure Go implementation of OpenAI's tiktoken tokenizer
telepresence - Local development against a remote Kubernetes or OpenShift cluster
daath-ai-parser - Daath AI Parser is an open-source application that uses OpenAI to parse visible text of HTML elements.
skaffold - Easy and Repeatable Kubernetes Development
CLIP - CLIP (Contrastive Language-Image Pretraining), Predict the most relevant text snippet given an image
okteto - Develop your applications directly in your Kubernetes Cluster
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.
tilt - Define your dev environment as code. For microservice apps on Kubernetes.
bricks - Open-source natural language enrichments at your fingertips.
tilt-extensions - Extensions for Tilt
terminal-copilot - A smart terminal assistant that helps you find the right command.
kind - Kubernetes IN Docker - local clusters for testing Kubernetes