• 2 Posts
  • 6 Comments
Joined 3 years ago
cake
Cake day: June 14th, 2023

help-circle
  • Just to clear up some potential misunderstanding… Ampere is the Nvidia GPU architecture, and your card is in the same category as RTX30xx. This can matter when it comes to hardware support for llama.cpp and other software.

    Having tensor cores affects the speed your card does certain calculations, but AFAIK there are different types of tensor cores in GPUs and if you’re using quantized models (which you most likely will be, unless you’re training your own models) then it’s INT8 performance that matters.

    Your amount of VRAM determines how large (which usually correlates to how “intelligent” the model is) model you can fully load on the GPU. If the entire model doesn’t fit in VRAM it can use CPU RAM swapping (partial offloading) which severely harms performance, though MoE models are less affected.

    So both VRAM and tensor cores affect generation speed, but in completely different ways.


  • According to this page ChatGPT would tokenize “seventeen” as [“se”, “venteen”] but AFAIK tokens become multi-dimensional vectors which represents its meaning (all vectors are the same length and the numbers in the vector have nothing to do with the letters that spell it out, just so you don’t imagine something like a C++ string). So an LLM can’t answer how many of each letters there is in a token either, unless explicitly trained to do so. To be able to immediately answer this, I think they would need to include huge amounts of training data to cover all tokens and letter combinations.

    But I would have expected that since the strawberry incident, all models would have been trained to do what Qwen tried to do here, and break the word down into letters. Because “s e v e n t e e n” tokenizes to [“s”, “e”, “v”, “e”, “n”, “t”, “e”, “e”, “n”] so then they only have to train the model to be able to convert any token into its individual letter, and to count occurrences of something in an array.

    However, if you disallow thinking and force the LLM to answer immediately, then you’re back to the original problem and will likely get an incorrect answer.