• 2 Posts
  • 21 Comments
Joined 5 months ago
cake
Cake day: July 2nd, 2026

help-circle






  • You don’t need to ignore it. She should understand your stance on AI. You don’t need to come off strong with pure hatred, but she should understand your dislike of AI. On the topic of her homework, keep it light. You don’t need to fixate on it, just say it looks good (if it does). I don’t know if you can help her reduce her usage. Maybe someone else here can figure that out.






  • Hello! First of all, I wrote this myself without AI (but with a stackover post here for the word counter (wc) part and here for the -exec of find part).

    How it works

    We select a directory called A. If A has a sub-directory at somepoint with the matching string “red” in it, we then ignore it. Otherwise, it is the deepest directory with “red” in its name. That makes sense. So, how do we do this?

    First, I wrote a find.sh script

    if [[ $(find "$1" -mindepth 1 -type d -name '*red*' | wc -c) -eq 0 ]]; then
      echo "$1"
    fi
    

    It will output the name of the directory if it is the deepest match, or nothing if not. Then I do

    find . -type d -name '*red*' -exec bash find.sh {} \;

    Finally

    find . -type d -name '*red*' -exec $SHELL -c 'if [[ $(find "$1" -mindepth 1 -type d -name "*red*" | wc -c) -eq 0 ]]; then echo $1; fi' sh {} \;

    Hope this helps 👍



  • I believe so. They do not mention a change in model architecture which reduce the compute for these byte-level models. So it would be expected that compute costs of token generation increase proportionally with the average increase of tokens with respect to current subword tokenization. I have just read the paper here and they seem to combat the increase compute cost with their efficent self-attention method, I do not see a mention of this here, so I only assume that the internal model architecture remains the same, and thus it is expected that the larger context length and time to generate a token will be the main issues.