Trying to add a feature in my linux project

  • Thread starter Thread starter geekynerd
  • Start date Start date
  • Tags Tags
    #llm Ai Linux
AI Thread Summary
Customizing a Linux distro to create a romantic AI experience involves integrating a language model that mimics personal writing style. To achieve this, the model needs to be trained on personal data such as social media posts and emails. Technical steps include using an API to connect the AI with the Linux system and implementing it in a way that responds to user commands. While the project may be entertaining, genuine connection with the crush relies more on personal interaction than technological gimmicks. Proceeding with caution is advised to avoid potential misunderstandings or miscommunications.
geekynerd
Messages
30
Reaction score
5
TL;DR Summary
how to fine tune an ai model
i am customizing a Linux distro [arch] into love os which I am building to impress my crush. I had an idea to integrate an ai model into the Linux system so it can speak like me but romantically. but I don't know what or how to do. I don't know the basic concept of Linux but yet I am customizing my os purely relying on chat gpt and perplexity. when i ask chat gpt about this it said to fine tune an ai model and integrate to the Linux distro and my friend said for the data to be fed to the ai should be taken from your social media platform. so rn I am decided to do that. the problem i am facing is i don't know how to do that. can someone kickstart me give me ideas how to proceed with it and how to connect with my Linux distro it would be helpful for me.

thank you
 
Computer science news on Phys.org
While you may get it working and your girlfriend finds it amusing, she's unlikely to fall helplessly in love because of your new OS. As young guys, we carry the emotional baggage of romantic stories and think that we can overcome our shyness and rejection through some indirect method, but it's doomed to fail. I know I've been there.

It's not until you get to talking with her and go out on dates, having shared experiences, that you will grow closer. Sometimes, though, it just doesn't work out, and you pack up your feelings and move on. As Robin Williams said in the "Good Will Hunting" movie, "It's not your fault.”.

---

On the technical side, you're asking several things here. Let's start with the LLM. Your OS will likely need to incorporate an LLM as a local model or use ChatGPT via its api. Just so you know, the LLM will need to be trained on everything you've written and given a prompt, and respond in the same manner as your writing.

The more writing you have, the better chance for success. As an example, I used to ask ChatGPT to summarize a movie in the style of Yoda or Hemingway. It was great fun to see what it produced. The LLM already had enough training to mimic their styles.

You must first train your LLM by uploading whatever you've written, such as emails, posts on social media, and school projects.

Once trained, you can test it to see if it responds like a twin brother.

Next, if you're building an app, then it can use the LLM's api (if it has one) to get the responses and display them on screen.

A simple strategy might be that when a command session is opened, your app starts and handles her requests, responding like you. Next, you'd pass her command to the underlying command session via the system() call and display her command output.

You could add a line in the .bashrc file to launch your app and have it create prompts similar to those in the bash shell. Internally, you'd call upon ChatGPT to process each command typed in, and its response would mimic you.

Bash:
$ mkdir xyzzy

[B]“You have bewitched me, body and soul.”[/B] ([I]Pride and Prejudice -- Jane Austin[/I])

Directory xyzzy has been made

$

It's like you're trying to make a conversational shell ala Star Trek:

Bash:
$ mkdir xyzzy

Working...

The xyzzy directory has been made successfully.

$

This is where you will have to play a lot to get it right. If your girlfriends a programmer, she can help with the project, and bingo, you have a shared experience to build on, and she may like your initiative and project ideas. You could say you're trying to tie ChatGPT into the bash shell to customize and aid new programmers in using the new shell.

There is also the real fear that the LLM will hallucinate and say something that will offend her and that may spell the end of your friendship.

Good luck,
Jedi
 
Last edited:
i dont want to be a regular boyfriend for her. i felt like i wanted to do something special so i am doing this. on the technical side thank you for the instructions and i will start training my llm today and report the result. btw thank you replying. and if you have any other useful info which you think it can help me please dont mind sharing with me. [sorry for bad english.]
 
What about an evolving desktop background of photos she might like?

You could do the program I mentioned earlier where it starts up and greets her in different ways and then returns control back to the session. Repeated greetings can get really boring.
 
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...
Back
Top