I don't think that Mercury Prize table is a representative example because each column has an obviously unique structure that the LLM can key in on: (year) (Single Artist/Album pair) (List of Artist/Album pairs) (image) (citation link) I think a much better test would be something like "List of elements by atomic properties" [1] that has a lot of adjacent numbers in a similar range and overlapping first/last column t…
Minifying HTML for GPT-4o: Remove all the HTML tags
31–40 of 52 posts
Re: Minifying HTML for GPT-4o: Remove all the HTML tags
#32I’m curious. Scraping seems to come up a lot lately. What is everyone scraping? And why?
Re: Minifying HTML for GPT-4o: Remove all the HTML tags
#33I’m curious. Scraping seems to come up a lot lately. What is everyone scraping? And why?
Re: Minifying HTML for GPT-4o: Remove all the HTML tags
#34What I do is convert to markdown, that way you still get some semantic structure. Even built an Elixir library for this: https://github.com/agoodway/html2markdown
Re: Minifying HTML for GPT-4o: Remove all the HTML tags
#35Anecdotally, the same seems to apply to the output format as well. I’ve seen much better performance when instructing the model to output something like this: name=john,age=23 name=anna,age=26 Rather than this: { matches: [ { name: "john", age: 23 }, { name: "anna", age: 26 } ] }
Re: Minifying HTML for GPT-4o: Remove all the HTML tags
#36What I do is convert to markdown, that way you still get some semantic structure. Even built an Elixir library for this: https://github.com/agoodway/html2markdown
Seems to be the most common method I've seen, it makes sense given how well LLMs understand markdown.
They say "LLMs are trained on the web", are the web pages converted from HTML into markdown before being fed into training?
Re: Minifying HTML for GPT-4o: Remove all the HTML tags
#37You step back and realize: we are thinking about how to best remove some symbols from documents that not a moment ago we were deciding certainly needed to be in there, all to feed a certain kind of symbol machine which has seen all the symbols before anyway, all so we don't pay as much cents for the symbols we know or think we need. If I was not a human but some other kind of being suspended above this situation, wit…
Re: Minifying HTML for GPT-4o: Remove all the HTML tags
#38Earlier quoted context omitted.
Seems to be the most common method I've seen, it makes sense given how well LLMs understand markdown.
Why do LLMs understand markdown really well? (besides the simple, terse and readable syntax of markdown) They say "LLMs are trained on the web", are the web pages converted from HTML into markdown before being fed into training?
Re: Minifying HTML for GPT-4o: Remove all the HTML tags
#39Certainly good enough for gpt input, it's quite good.
Re: Minifying HTML for GPT-4o: Remove all the HTML tags
#40I don't think that Mercury Prize table is a representative example because each column has an obviously unique structure that the LLM can key in on: (year) (Single Artist/Album pair) (List of Artist/Album pairs) (image) (citation link) I think a much better test would be something like "List of elements by atomic properties" [1] that has a lot of adjacent numbers in a similar range and overlapping first/last column t…
thanks a lot for the feedback! you're right, this is much better input data. I'll re-run the code with these tables!
To be sure - shouldn't you be asking questions based on data that is guaranteed not to be in it's training?