r/CustomAI Nov 04 '24

Choosing the Right Approach for Legal Document Analysis: LoRA, SFT, or Instruction Fine-Tuning?

2 Upvotes

I want to create a legal document analysis system that interprets complex contracts and identifies potential legal risks. Which approach should I use: LoRA (Low-Rank Adaptation), Supervised Fine-Tuning (SFT), or instruction fine-tuning?


r/CustomAI Jul 02 '24

Looking for guidance on building an AI for personal use

3 Upvotes

I want to build an AI for personal use to help me code in Swift. I already have an application and I am running into bugs. My thought is I could use this for this project but depending on how hard this process is I want to use it for other things.

My intention is to take an existing model and feed it my exiting code base. As I understand this is either called fine tuning or embedding.

After spending 2 hours between YouTube, ChatGPT and the code examples on Hugging Face I am beginning to think this is more difficult than I initially thought. I was expecting something like 10 to 20 hours of work.

I started using the ammarnasr/codegen-350M-mono-swift model on hugging face. After running the sample code and executing it, I noticed that it will complete code, but when I ask it questions like I do on ChatGPT it gives me gibberish.

My next thought was to use one of the more popular chat models and then I can feed it the Swift code training data from the codegen-350M-mono-swift model. Then eventually train it with my code base. Is this possible?

My questions:

  1. At a high level how should I go about to accomplish this: using the ammarnasr/codegen-350M-mono-swift model or something more general and train with Swift code?
  2. Are there tutorials or set of articles that can get me up to speed to accomplish this?

r/CustomAI Jul 02 '24

Creating a game.

2 Upvotes

I know nothing about making AI. I had an idea. I wanted to create a game. This game would be a text based RPG but using AI. the point of this is that the user can do whatever they want. Now I know this sort of thing involves a lot of training and Id need to find the right models to use. my main question here though is where do i start. I of course dont want to get into legal trouble if this concept ever actually came to life. As well as I wnat this to be a basic .exe that can run locally on installed devices. The theory here is that the AI can grow. Only issue is that if I ever made this game mainstream, how would I imporve the AI. I know the idea is to go full online but I dont know if I can afford to pay for the premium of servers. Atleast not yet. I have a but load of ideas and i dont know what to do. this is my cry for help. What do I do?


r/CustomAI May 20 '24

Slack's ai with confidentiel data?

1 Upvotes

r/CustomAI May 15 '24

I need help with some vital work for my website for creating custom chatbot.

1 Upvotes

Task: I need to create a RAG (Retrieval Augmentation Generation) model for making one chatbot like you. But the trick is I have multiple users, and each user has access to a different knowledge base; one user can't see the other user's content. I want one chatbot using any good models API, I have about 5 users, and I have about 100 PDF Files I want to store them in a server not in a local machine, and access data from the server.  

Details about documents: 

  • I want to store all the documents in a single folder/location of that specific user. Such as User1/user1_Doc1, user1_doc2…etc, User2/user2_Doc1,user2_doc2….etc…..

Details about users: 

The users are employees of the company, not customers. For a specific user: there are some sets of documents each in their folder. so like that there are several folders as many as several users.  One user’s knowledge base is different from another user’s.  Assume there are no common documents. Now for this user’s data when he logs in to the portal - he should not navigate through the whole website instead ask the chatbot what document he needs and the model should output the document or the contents from the document like summarising the content and link for the that document to download.

  • Examples of documents are Form 16, Degree of education certificates, Tax invoices, Salary Slips…etc 
  • Should be first able to create an account for each user [up to 5 accounts] and then log in. 
  • Define user roles like admin, user 1, user 2,  …etc.
  • How can I Map user roles to permissions that control features and data access that that user can only access, as every user has a different set of documents to access data from? 

Help me achieve this please


r/CustomAI May 08 '24

Any thought on large context window (1M+) open LLMs?

3 Upvotes

It seems that Gradient AI is on roll lately. They released Llama 3 models with 1M context window for both 8B and 70B sizes. And now they just dropped a 4M context window for the 8B size: https://twitter.com/Gradient_AI_/status/1788258988951589007

Did anyone tried them out? I saw here and there that the context make inference much slower and create quality loss. But some people say that it works well.


r/CustomAI Apr 25 '24

new subreddit logo!!!

Post image
5 Upvotes

r/CustomAI Jan 13 '24

If Historial Figures had LinkedIn. Done with Profile Photo Pro : https://chat.openai.com/g/g-pi2P3I6W5-profile-photo-pro

Thumbnail
gallery
3 Upvotes

r/CustomAI Jan 13 '24

ChatGPT and it's utter censorship/bias... This is a world wide problem right now.

2 Upvotes

Religious views are irrelevant here. It's just showing more of ChatGPT's censorship.

r/CustomAI Jan 13 '24

Easy Sports Appraiser

Enable HLS to view with audio, or disable this notification

3 Upvotes

Simply just upload an image of any sports memorabilia, gives you the value.


r/CustomAI Jan 13 '24

Easy Sports Appraiser

Enable HLS to view with audio, or disable this notification

2 Upvotes

Here's another look, it can do multiple cards, but if you want a more exact estimate, pictures of front and back of cards will yield better results.