All of Emily Thomas's Comments + Replies

6Richard_Kennaway
Rule 0: Cultivate those virtues that will stand you in good stead when you are faced with an opportunity to not destroy the world. Virtue A is the most important outcome, but B,C, and D are part of what it takes to achieve A.

My brain also associates memories with locations, and I've noticed I do have the exact same location-based recall in full VR as I do in real life.

Thinking back, most of the main points I can recall from conversations in VR are either when I have just moved around the virtual space (so the visuals are different), or when new people come into the conversation (especially people with interesting avatars).

This can probably be refined further.


Which I then went and did, maybe.
You can actually get it down from 187 tokens to only 87, by also removing all the punctuation.

This gave only a slightly higher loss in accuracy than other examples, and seemed to preserve the main information. Could be an optional extra.

Compressed version:
don't humans also genuinely original ideas Come read fantasy book either Tolkien clone Song Ice Fire Tolkien professor Anglo Saxon language culture no secret got inspiration Song Ice Fire War Roses dragons Lannister Stark Lancaster York... (read more)

1vlad.proex
Nice! Last weekend I expanded https://www.gptrim.com/ to allow the user to a) see savings in both characters and tokens; b) determine their own combination of word processing functions. Then I saw, like you said, that to save tokens you only want to remove stopwords. I will next add the option to remove punctuation. I also want to give users two general recipes: optimize for saving tokens vs. optimize for saving characters. Always happy to take more ideas. I will probably write again on this, on my new personal Substack or other websites, reporting what I've learned. Would you like me to cite you and link to your profile? My DMs are open!  P.S: Due to my speedrunning the coding, the website now has an issue where it sometimes adds spaces to the text. I am aware of this and will fix it latest next weekend. The Python package that runs all this is accepting PRs: https://github.com/vlad-ds/gptrim. 

Oh, if we're only optimizing for tokens we can get the Tolkien example down from 187 to 110.

Word stemming adds tokens (while reducing characters). If we only care about tokens then removing the stopwords was doing all the work.

If we only remove the stopwords and nothing else we get:
don't humans also genuinely original ideas? Come, read fantasy book. either Tolkien clone, Song Ice Fire. Tolkien professor Anglo-Saxon language culture; no secret got inspiration. Song Ice Fire War Roses dragons. Lannister Stark Lancaster York, map Westeros Britain (minus Scotl... (read more)

2Emily Thomas
Which I then went and did, maybe. You can actually get it down from 187 tokens to only 87, by also removing all the punctuation. This gave only a slightly higher loss in accuracy than other examples, and seemed to preserve the main information. Could be an optional extra. Compressed version: don't humans also genuinely original ideas Come read fantasy book either Tolkien clone Song Ice Fire Tolkien professor Anglo Saxon language culture no secret got inspiration Song Ice Fire War Roses dragons Lannister Stark Lancaster York map Westeros Britain minus Scotland upside down Ireland stuck bottom wake sheeple Dullards blend Tolkien slurry shape another Tolkien clone Tolkien level artistic geniuses blend human experience history artistic corpus slurry form entirely new genre difference finely blend spices add slurry Which GPT-4 outputs to: Don't humans also generate genuinely original ideas? When you read a fantasy book, it is either a Tolkien clone or a Song of Ice and Fire (Game of Thrones) adaptation. Tolkien, a professor of Anglo-Saxon language and culture, made no secret of where he got his inspiration. The Song of Ice and Fire series is based on the War of the Roses, with dragons and houses like Lannister and Stark representing Lancaster and York, respectively. The map of Westeros is essentially Britain without Scotland, flipped upside down, and Ireland attached at the bottom. In this case, it seems that unimaginative people merely blend Tolkien's work and create another Tolkien clone. However, Tolkien-level artistic geniuses are able to blend human experiences, history, and their artistic corpus into a slurry to form an entirely new genre. The difference is like finely blending spices to add to the slurry, creating a unique and flavorful dish.

Good Idea! Let's make it better!
Main thing that comes to mind, a lot of tokens already come with spaces at the start of the word. Would removing them make things worse?

I put 'ButifIwrotewithoutspacesyouwouldprobablystillunderstandme' into openai's tokenizer.
It has 17 tokens.
I added the spaces back in to get 'But if I wrote without spaces you would probably still under stand me'.
It has 13.
Okay, so taking spaces out made it longer instead of shorter, but it's also a short bit of text and could be a fluke. What about your Tolkien example?

Your original Tolkien... (read more)

2vlad.proex
This is what I was hoping for when I wrote this post. Thank you for your insight.  New position: sometimes when using ChatGPT, you only care about the number of characters, because of the character limit in the chat message. In that case, you want to get rid of spaces. But if you want to save on tokens, you probably should keep spaces. I think the solution is: a) allow the user to choose the mix of transformations for their use case; b) show them how much they are saving in characters and tokens so they can optimize for their use case. 

This is something I've been meaning to learn for a while, but haven't known where to start.
Thank you for putting at all together so nicely :)

Some of these are strikingly similar to advice for how to interview users when designing user friendly software.
I guess it makes sense that there's some cross over.

I like it!