armbues / SiLLM

SiLLM simplifies the process of training and running Large Language Models (LLMs) on Apple Silicon by leveraging the MLX framework.
MIT License
221 stars 21 forks source link

Modifications to sillm.chat #6

Closed magnusviri closed 2 months ago

magnusviri commented 6 months ago

I've modified sillm.chat a lot. Let me know what you would be interested in adding to your repo and I'll put those changes in my fork and do a pull request. Here's a list of changes.

armbues commented 6 months ago

This sounds great! Most of the improvements really make sense.

Are you using any external dependencies? That would be my only reason to be hesitant and double-check what is used and if it's maintained etc.

I checked your fork of the repo and the modified version of chat is not in there yet, right?

armbues commented 6 months ago

Does changing the assistant response also evaluate it in the model?

magnusviri commented 6 months ago

Are you using any external dependencies? That would be my only reason to be hesitant and double-check what is used and if it's maintained etc.

These are the new dependencies.

import sys import select import tty import termios from cmd import Cmd

I checked your fork of the repo and the modified version of chat is not in there yet, right?

It wasn't there. I've uploaded it now.

Does changing the assistant response also evaluate it in the model?

The intent is that it will evaluate it after the user enters the next reply. This is my easy way of trying to jailbreak the model.