Re: [OT] Re: the 'original' string function?

2024-07-13 Thread Emanuel Berg
jeremy ardley wrote: > Then create a prompt/context with the search text and > instructions to generate a similarity index and report any > that meet some threshold. > > You will have to get the results in some format such as json > and post process > > You may want to get ChatGPT 4 to help you

Re: Problem with conda

2024-07-13 Thread Brad Rogers
On Sat, 13 Jul 2024 15:31:59 -0400 "Stephen P. Molnar" wrote: Hello Stephen, >I downloaded a new copy of Miniconda3-latest-Linux-x89_64.s You say nothing about where you got this from but, assuming it's https://docs.anaconda.com/miniconda/ your problem may well be that what you downloaded

Re: [OT] Re: the 'original' string function?

2024-07-13 Thread Emanuel Berg
> The answer is 1. "Here, in this thread, the context thing > with respect to AI, anyone having any luck knowing what to > do with that?" > > This sentence is original because it starts the discussion > about context in the thread. Ah, there we have the next project: The 'origin' string

Re: [OT] Re: the 'original' string function?

2024-07-13 Thread Emanuel Berg
jeremy ardley wrote: > the 2048 is tokens which is approximately the number of > words in a prompt, so not character count. Ah, right. > The context explains how you want it to respond and the > prompt is the actual question. See the other mail, I don't know if the labels should look in a

Re: [OT] Re: the 'original' string function?

2024-07-13 Thread Emanuel Berg
So I used a text file mail.txt and fed it to the AI. Well, well! What do you say? I'll let you read the whole file to find out who won - and why! Here is what the mail.txt file looked like: Here is the context: >> Here, in this thread, the context thing with respect to AI, >> anyone having

Re: [OT] Re: the 'original' string function?

2024-07-13 Thread jeremy ardley
On 14/7/24 12:56, Emanuel Berg wrote: You can, but how much? So this is the context? You mean include it in the prompt? Then it is more easy to find in the llamafile(1) man page, it is probably this -c N, --ctx-size N Set the size of the prompt context. A larger

Re: [OT] Re: the 'original' string function?

2024-07-13 Thread Emanuel Berg
jeremy ardley wrote: >> Here, in this thread, the context thing with respect to AI, >> anyone having any luck knowing what to do with that? It is >> mentioned 14 times in llamafile(1) but not how to actually >> set it up with your own data? > > One way to set context is via the http api which is

Re: [OT] Re: the 'original' string function?

2024-07-13 Thread jeremy ardley
On 14/7/24 11:41, Emanuel Berg wrote: I've made several improvements, including adding the `string-distance-percentage' that was mentioned. But let's forget about that branch [1] or visit that URL for the latest source on that. Here, in this thread, the context thing with respect to AI,

Re: [OT] Re: the 'original' string function?

2024-07-13 Thread Emanuel Berg
> Okay, let's do it like this, here is the file, maybe > I'm blind. Here is it for download as well if you want to use your own pager: https://dataswamp.org/~incal/tmp/llamafile.1 -- underground experts united https://dataswamp.org/~incal

Re: [OT] Re: the 'original' string function?

2024-07-13 Thread Emanuel Berg
> I yank the source last [...] I've made several improvements, including adding the `string-distance-percentage' that was mentioned. But let's forget about that branch [1] or visit that URL for the latest source on that. Here, in this thread, the context thing with respect to AI, anyone having

Re: OT - programa para hacer pendrive ISO

2024-07-13 Thread Fernando C. Estrada
El sábado, 13 de julio de 2024 a las 4:04 PM, Simeón Ignacio Martirén escribió: > He comprado una laptop Lenovo V15 Gr AMN y me instalaron el Windows prueba. > Quiero instalar Debian 12, pero no logro hacer que funcione el pendrive con > la ISO con Unetbootin ni Rufus. No soy experto, por

OT - programa para hacer pendrive ISO

2024-07-13 Thread Simeón Ignacio Martirén
He comprado una laptop Lenovo V15 Gr AMN y me instalaron el Windows prueba. Quiero instalar Debian 12, pero no logro hacer que funcione el pendrive con la ISO con Unetbootin ni Rufus. No soy experto, por favor ¿me orientan? -- * Ignacio*

Re: [OT] Re: the 'original' string function?

2024-07-13 Thread Emanuel Berg
tomas wrote: > If you are doing this in Emacs Lisp, after all, there /is/ > a Levenshtein distance function in there. Finding its name > is left as an exercise to the reader, though... (I know of course, `string-distance'.) I thought I was just going to experiment some in Elisp but now I've

Re: [OT] Re: the 'original' string function?

2024-07-13 Thread Emanuel Berg
jeremy ardley wrote: > In your case, without fully knowing precisely what your aim > is, one possible approach is to put all the text you want to > search into a GPT4All localdocs directory where it will be > indexed on the fly. Then create a prompt/context with the > search text and instructions

Problem with conda

2024-07-13 Thread Stephen P. Molnar
I am running Bookworm with the bash shell and use  a conda environment for some of my Molecular Modeling software. For some reason I can no longer activate my conda apps. I downloaded a new copy of Miniconda3-latest-Linux-x89_64.sh. The sha256sum agreed I deleted the Miniconda3 and .conda