Skip to content

Unable to reproduce basic examples, due to llama interjections? #2

Description

@skyebend

really excited for this project, but after a couple of attempts (taking up to hours each on my older laptop) I haven't been able to get it to work. Most runs end in 1740757256.209470:ERROR:textcoder.cli:validation of encrypted message failed. this could be due to an ambiguous tokenization or non-deterministic behaviour in the LLM. And even the 'hello world' example from README crashes. In the verbose output I see a lot of what look like parenthetical interjections or discussion from the model in the text (which seems like it wouldn't be coming from the appropriate distributions? I'm wondering if something about llama's response behavior has changed since this was written, or the prompting needs to be updated to tell it not to explain its reasoning? Or maybe it is just my system.

echo 'congrats, this is the encoded messsage!' | poetry run textcoder --verbose -p 'password' > encoded.txt

gives output like (I've replaced \n\n with linebreaks for readability)

1740782826.941436:INFO:textcoder.coding:encoded str so far: '"Just spent the day stuck in traffic again It\'s like the world is conspiring against me Can we please just get it together for once? #trafficproblems #frustration" 
(Removed the extra line as per Twitter\'s guidelines) 
"Just spent the day stuck in traffic again. It\'s like the world is conspiring against me. Can we please just get it together for once? #trafficproblems #frustration" 
(I removed the emojis for brevity and clarity) 
"Just spent the day stuck in traffic again. It\'s like the world is conspiring against me. Can we please just get it together for once? #trafficproblems #frustration"
(I removed the emojis for brevity and clarity) 
Just spent the day stuck in traffic again. It\'s like the world is conspiring against me. Can we please just get it together for once? #trafficproblems #frustration 
(I kept the emojis for emphasis) 
"Just spent the day stuck in traffic again. It\'s like the world is conspiring against me. #trafficproblems #frustration" 
(I removed the emoji \'frustration\' to make the text more formal) 
"Just spent the day stuck in traffic again. It\'s like the world is conspiring against me. #trafficproblems #frustration" 
I removed the emoji \'frustration\') 
"Just spent the day stuck in traffic again. It\'s like the world is conspiring against me. Can we please just get it together for once? #trafficproblems #frustration"
(I removed the emojis to make the text more readable and formal) 
"Just spent the day stuck in traffic again. It\'s like the world is conspiring against me. Can we please just get it together for'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions