r/LargeLanguageModels • u/SnooFloofs8831 • Nov 20 '23
Large language models
Which open source and free LLM should I prefer if I wanna build an AI Chatbot that can provide Customer support for my website that serves WordPress plugins.
r/LargeLanguageModels • u/SnooFloofs8831 • Nov 20 '23
Which open source and free LLM should I prefer if I wanna build an AI Chatbot that can provide Customer support for my website that serves WordPress plugins.
r/LargeLanguageModels • u/SnooRabbits1004 • Nov 19 '23
How has everyone been going about building datasets ? this is my first venture off in to LLM's
TLDR: I'm building a data set to fine tune a model to help me do risk assessments, and having fun along the way
I work in robotics in heavy haulage and mining environments. we often have to do risk assessments which is really F'ing boring. so ive decided to use key words from the previous risk assessments and match all the potential outputs up. its come out at 10k items which form kind of ok sentences, since then im running them through a very slow (but low power cost) cluster of jetson xavier NX's running mistral. Its going ok, i setup a little API with some containerzied workers, the workers fetch a question from the API, process it with ollama.ai and then submit the results back, ive set it up so i can use multiple models then extract the data from the API based on a tag system for training
Obviously there was no LLM used to form the question just key words from other risk assessments, but some of the data back from the LLM's is good i think. Good enough that i might look to generate a bigger data set and maybe train a model from it, the question forming took the resulting 10k of items to 54k as i worded some questions different from others, but otherwise its going well. albeit slowly...
Example of the question coming from the API
{"answers":[],"assessed":true,"last_issued":"2023-11-19 08:53:27","question":"What Inadequate software testing could prevent Operating Autonomous Vehicles that may also cause Vehicle hijacking or control by malicious entities?","tags":["untagged"]}
The completed Q/A back from the API after it is answered
{"answers":[{"answer_text":"An inadequate risk assessment for specific test scenarios could prevent operating autonomous vehicles safely. Some potential risks and their corresponding inadequate risk assessments are:\n\n1. Lack of Environmental Awareness: Autonomous vehicles rely on sensors to detect their surroundings. However, if the sensors fail or do not detect certain environmental factors like pedestrians, animals, construction work, or extreme weather conditions, it could cause loss of autonomous functionality mid-operation. An inadequate risk assessment that fails to consider these environmental factors could result in accidents and fatalities.\n2. Poorly Maintained Infrastructure: Autonomous vehicles rely on a well-maintained infrastructure like road markings, signage, traffic signals, and communication systems. If the infrastructure is poorly maintained or damaged, it could cause confusion for the autonomous vehicle's sensors and lead to accidents. An inadequate risk assessment that does not consider the potential impact of poor infrastructure could result in accidents and fatalities.\n3. Insufficient Testing: Autonomous vehicles are tested under various scenarios and conditions to ensure they operate safely. However, if certain test scenarios are not adequately considered or tested, it could lead to unexpected behavior in autonomous vehicles. An inadequate risk assessment that fails to consider all possible scenarios could result in accidents and fatalities.\n4. Lack of Redundancy: Autonomous vehicles rely on multiple sensors and systems to operate safely. However, if any of these systems fail, it could cause loss of autonomous functionality mid-operation. An inadequate risk assessment that does not consider the potential impact of sensor or system failure could result in accidents and fatalities.\n5. Lack of Human Oversight: Autonomous vehicles rely on human oversight to ensure they operate safely in certain situations. However, if the human oversight is insufficient or absent, it could lead to unexpected behavior in autonomous vehicles. An inadequate risk assessment that fails to consider the impact of human oversight could result in accidents and fatalities.\n\nIn conclusion, an inadequate risk assessment for specific test scenarios could prevent operating autonomous vehicles safely, leading to accidents and fatalities. To ensure safe operation of autonomous vehicles, a comprehensive and thorough risk assessment must be conducted that considers all possible scenarios and factors that could impact the autonomous vehicle's performance.","model_type":"mistral","processed_by":"C1-N1.Newey.id.au"}],"assessed":true,"last_issued":"2023-11-19 08:45:43","question":"What Inadequate risk assessment for specific test scenarios could prevent Operating Autonomous Vehicles that may also cause Loss of autonomous functionality mid-operation?","tags":["untagged"]}
r/LargeLanguageModels • u/j0selit0342 • Nov 15 '23
Check it out: https://github.com/rafaelpierre/bullet
Comments and suggestions welcome :)
r/LargeLanguageModels • u/BenaMusic • Nov 15 '23
r/LargeLanguageModels • u/Ill-Layer-6765 • Nov 14 '23
Hey fellow developers! 👋
I'm embarking on a new project to develop an app where users can input prompts, and the results will be generated not only by a Language Model (LLM) but also include relevant content from the internet, such as links, videos, images, and news articles. I'm super excited about this concept and could use some guidance on the implementation.
You can see you.com this website as a reference.
Thanks a bunch for your valuable input! 🙌
r/LargeLanguageModels • u/lahaine93 • Nov 10 '23
I'm interested in integrating RLHF into my project. Currently, I have an LLM that provides financial advice. My goal is to implement RLHF to dynamically adjust the LLM's advice based on future outcomes. The LLM instructs the user to invest based on certain circumstances, and depending on the user's gains or losses, the model should adapt LLM weights for subsequent iterations.
I'm seeking articles with Python code examples to replicate and customize this functionality. Any advice or recommendations?
r/LargeLanguageModels • u/masta-g3 • Nov 07 '23
r/LargeLanguageModels • u/cloudygandalf • Nov 06 '23
r/LargeLanguageModels • u/Relative_Winner_4588 • Oct 31 '23
I am trying to develop a project akin to a private GPT system capable of parsing my files and providing answers to questions. Following experimentation with various models, including llama-2-7b, chat-hf, and flan-T5-large, and employing instructor-large embeddings, I encountered challenges in obtaining satisfactory responses.
One noteworthy observation is that, when I invoke the retriever by calling retriever.invoke() with a question, it struggles to extract the most pertinent text necessary for generating optimal answers. In this pursuit, I have explored embeddings like instructor-large, as well as models from the simple-transformers library.
I kindly request recommendations for embedding models that can effectively extract text relevant to the given context. Furthermore, I am uncertain whether it would be more advantageous to utilize text-generation models for querying my files or to opt for conventional question-answering models, such as roberta-base-squad2. Please help me with this.
r/LargeLanguageModels • u/AvvYaa • Oct 31 '23
r/LargeLanguageModels • u/tomakorea • Oct 29 '23
After using GPT4 for quite some time, I recently started to run LLM locally to see what's new. However, most of models I found seem to target less then 12gb of Vram, but I have an RTX 3090 with 24gb of Vram. So I was wondering if there is a LLM with more parameters that could be a really good match with my GPU.
Thank you for your recommendations !
r/LargeLanguageModels • u/Dubabear • Oct 26 '23
Hi I don't know if this community might know or if it even exists. But is there an LLM that has been trained in evaluation politicians' track record and policies supported? I am looking for one to kinda understand what my current city council has done without doing a lot of research of their past years of work.
r/LargeLanguageModels • u/hkproj_ • Oct 26 '23
r/LargeLanguageModels • u/aaatings • Oct 22 '23
Hi,
I want to help my sister who is originally a psychologist but currently has been tasked to take care of autistic children at a facility. This has made her life very difficult and is very overwhelmed, she is also very sensitive and takes her work too seriously which makes it even more difficult for her to unwind.
I have become increasingly worried as she has delayed her marriage too.
Anyway I was looking into using the free chatgpt or bing gpt4 to offload her work or make it less painfully and overwhelming.
Kindly answer my questions, would be profoundly grateful for any help guy.
1 best prompts to ensure chatgpt or bing doesnot hallucinate so it gives summaries from exact text only
2
Gamify and fully customize topics based on individual kids favorite stories and characters which they can relate eg actual stories of batman spiderman and marvel etc
3
Bing DALLE3 only gives 25-30 creations, is there a way to get access to more for free if I prove it is for autistic kids education? We are outside USA though.
4
Can the custom flash cards for each kid can be stored in a separate profile of Anki or similar app in my sister phone so she can at certain times engage with certain kids based on their specific custom learning material? There are around 30 children each with varying and individual learning needs.
5
Can chatgpt/bing also create sort of gamification or reward systems like those found in mobile games so the kids truly feel accomplished after each session?
6
Free better alternate for doing this?
I'm not very well verse in this just started looking into this very recently so specific prompts would be more appreciated which I will test, but honestly at this time any help would be so much appreciated.
Thank you so much!
r/LargeLanguageModels • u/DwaywelayTOP • Oct 20 '23
I am intrigued by LLMs, Deep Learning, and Machine Learning and I would really like to learn how to launch a model, fine-tune it, or embed it but I feel a bit lost, do you have any tips for getting started or online courses that can help me achieve this goal?
r/LargeLanguageModels • u/Hot-Firefighter-53 • Oct 20 '23
I want to generate new code files written in c. There are two files I want to generate these files contain variable declaration and definitions, the variable are picked up from a file which mentions these variable names. The model has to generate c stile code for generating the declarations and definition. I have to first generate a training dataset that can teach the model how to generate the code for variables file, how do I go about doing this ? Are their any examples you can point me to which shows a dataset for fine-tuning for code generation? I want to be able to give instructions like ‘Generate variables.c file for variable names mentioned in variables.xlsx’
r/LargeLanguageModels • u/AvvYaa • Oct 19 '23
r/LargeLanguageModels • u/Enamya11 • Oct 18 '23
r/LargeLanguageModels • u/StjepanJ • Oct 18 '23
r/LargeLanguageModels • u/NotoriousSack • Oct 18 '23
Hello, I would like to know if you guys could recommend me some papers about LLMs on academic tests. So methodology, challenges, results, evaluation and so on.
So far I have been looking into the "GPT-4 Technical Report" and "Creating Large Language Model Resistant Exams: Guidelines and Strategies"
Thanks in advance for any answers!
r/LargeLanguageModels • u/Fit_Maintenance_2455 • Oct 17 '23
Zephyr-7B-α vs. Llama 2 70B vs Mistral-7B : Unraveling the Future of AI Language Models : https://medium.com/@andysingal/zephyr-7b-%CE%B1-vs-llama-2-70b-vs-mistral-7b-unraveling-the-future-of-ai-language-models-a34d95968f40
r/LargeLanguageModels • u/music-ai • Oct 17 '23
If you are interested in AI and large language models, join us for a meetup at hacker dojo in mountain view, CA https://meetu.ps/e/MsVVm/1vzT1/i
r/LargeLanguageModels • u/Fit_Maintenance_2455 • Oct 12 '23
Mistral 7B-Instruct proves that size isn't everything when it comes to language models. It outperforms larger models in a wide range of tasks, making it a cost-effective yet high-performing solution.
🔓 The best part? It's open source! That means you can explore, modify, and innovate to create custom AI applications for your specific needs.
💻 Whether you're building customer service chatbots, automating code generation, or exploring new horizons in conversational AI, Mistral 7B-Instruct has you covered.
Link: https://huggingface.co/blog/Andyrasika/mistral-7b-empowering-conversation
Medium Article: https://medium.com/@andysingal/mistral-7b-instruct-conversational-genius-redefined-542a841c8635