How do you reach a 50x speedup on the old, 8 years old BERT tokenizer?
@SimonBrandeis went deep in the bert-base-uncased tokenizer with a single objective: make it as a fast as possible.
Turns out 88% of the encoding time was spent normalizing text, with the actual WordPiece tokenization only being 8%.
Is that normalization even necessary?
Most English/code is ASCII. Most non-ASCII text uses a small, predictable part of Unicode; and most text is already normalized.
So instead of making all that work faster, we started skipping it.
→ SIMD to skip entire ASCII ranges at once
→ cache Unicode properties instead of repeatedly searching tables
→ avoid allocations when normalization changes nothing
Result: up to another 5.7x faster BERT tokenization, or around 50x compared to tokenizers 0.23, with exactly the same tokens coming out.
And BERT is very much not dead: BERT-like tokenizers still sit behind embeddings, search, RAG, rerankers and classifiers used at massive scale.
Tokenmaxxing BERT: https://t.co/YjvyCbZ9O1
국립현대미술관에는 무료로 사용 가능한 라운지가 있다.
국립현대미술관 홈페이지에서 온라인 회원가입만 하면 1년에 12회 무료로 이용가능하다.
평일에 오면 사람 거의 없고 공간도 넓고 뷰도 좋고 조용해서 책 읽기 매우 좋은 장소다.
위치는 1층 테라로사 뒤편으로 ㄷ자로 돌아가면 교육동이 나오고 거기서 엘레베이터 타고 3층으로 올라가면 된다.
혼자만 알고 싶은 맛집 알려주는 느낌이지만 너무 좋은 장소라 공유드린다.
이 글 보고 먹으러 갔는데 왜 결혼하고 싶은지 너무 느껴버림
우선, 씁쓸한 말차 크림폼에서 인위적인 향이 안남
코코넛라떼도 달지않고 적당히 부드러우면서 코코넛의 향은 그대로 가지고 있음
그 두개가 만나면서 첫맛에 말차맛을 끝맛에 코코넛라떼 맛을 느낄 수 있음
제일 좋은 건 달지 않아서 물리지 않는다는 거!
근데 심지어 예쁘기까지해?
결혼 당장 갈겨
색감이 이상해씨가 떠올라서 더 애정이 감💚🩵