Skip to main content

All Questions

Tagged with
0 votes
0 answers
25 views

A Multiple Intent Query to Multiple Single Intent Query

Problem Description I am designing an algorithm that inputs an string, looks in the Q&A dataset, and brings back the closest Q&A to our user query. However, when the user sends a multiple-...
MojtabaMAleki02's user avatar
1 vote
1 answer
464 views

Is there any flag to stop langgraph for further executing?

I want to create a interviewing bot that may ask 5 questions. The questions are specified in the system prompt. I just want the langgraph to stop execution when 5 certain questions are asked. I tried ...
Abdullah Nadeem's user avatar
-1 votes
1 answer
35 views

how to extract data from website including all of its internal links in Python

I want to extract all the information from a website including from its internal links for the purpose of ceating chatbot for this website . how can i do this ? I have scrap the main site like https://...
Baber Raheem Yousafzai's user avatar
1 vote
0 answers
102 views

Fine-tuned LLaMA-2-Chat-HF Model Generates Same Responses as Pre-trained Model and Suitability for Retrieval-based Task

I am working on building a chatbot for substance abuse support. My approach involves two main steps: Fine-tuning the LLaMA-2-Chat-HF model: I have fine-tuned the LLaMA-2-Chat-HF model using a dataset ...
Hannah Mariam John's user avatar
1 vote
0 answers
87 views

chatbot memory problem for langchain using ConversationalRetrievalChain

i have build a chatbot on custom data using langchain, but the chatbot can not remember my previous questions, I found it difficult with the ConversationalRetrievalChain. My code is as below: `class ...
Ahmed Ewis's user avatar
0 votes
0 answers
124 views

Hugging face; Problem with custom retriever in transformers library

I am trying to build a RAG-based Chatbot with Chain of Thought for WordPress Site. I am not very experienced with Hugging face. I am using API to retrieve the data for this. Problem description: I ...
Ben's user avatar
  • 29
1 vote
0 answers
158 views

AttributeError: 'Tensor' object has no attribute 'embed_documents'

I have uploaded PDF file and split file into chunks, then apply tokenizer to each chunck and created embeddings. But when i try to store my embedding in FIASS, it give me AttributeError: 'Tensor' ...
Shaista Habib's user avatar
0 votes
0 answers
61 views

Understanding examples of Custom NER using spaCy

I am wanting to create my own custom Named Entity Recognition using spaCy. Whilst I understand the principles of the process and that I need 50-100 examples to train the model. What I am struggling to ...
SD449's user avatar
  • 107
-1 votes
2 answers
2k views

Training a LLM to execute functions

I want develop a chatbot that is able to perform actions and answer questions in a given Smart Home environment. I am curious how to do this with an LLM. How can I customize/train a model to execute ...
Leon B's user avatar
  • 11
0 votes
0 answers
176 views

Adapters after QLoRA fine-tuning on a llama architecture model reach about 2 GB, which is very far from the general trend seen online

I was Fine Tuning a Llama Architecture Model that supports multiple languages: English, Hindi as well as Roman Hindi. So, I loaded the model in quantized form using bitsandbytes in nf4 form along with ...
Killua's user avatar
  • 1
0 votes
2 answers
421 views

ChatBot langchain, set memory+retriever+map_reduce

I am new on this topics.I'd like to get a chain that allows me to use a retriever ,a memory and to set the chain_type = 'map_reduce'.In addition to that I'd like to know if is it possible to use the ...
tpaus's user avatar
  • 1
0 votes
1 answer
328 views

combining falcon 40b instruct with langchain

I want to create a local LLM using falcon 40b instruct model and combine it with lanchain so I can give it a pdf or some resource to learn from so I can query it ask it questions, learn from it and ...
Rony's user avatar
  • 3
1 vote
0 answers
902 views

Langchain Schema + langchain_openai errors (one resulting after completing the other)

I'm trying to do the following simple code: from langchain.schema import HumanMessage, SystemMessage from langchain_openai import ChatOpenAI 1] If I use it just after installing langchain and ...
Dolev Mitz's user avatar
0 votes
2 answers
297 views

Create a multilingual chatbot

I created a chatbot using PyTorch an I want to make it support the French language. Note that I want to train the chatbot so that it can respond to technical questions. One of the things that came to ...
Amine's user avatar
  • 1
0 votes
1 answer
1k views

Fine-tuning pretrained LLM using HuggingFace transformers throws "index out of range in self"

I am totally new to ML and learning as I go for a work project, where we are attempting to fine-tune a pretrained LLM using the company's data, which consists of magazine articles, podcast transcripts,...
capnchat's user avatar
  • 101

15 30 50 per page
1
2 3 4 5
14