llama-index Questions
6
Solved
I am getting an ImportError while using GPTSimpleVectorIndex from the llama-index library. Have installed the latest version of llama-index library and trying to run it on python 3.9.
from llama_in...
Mcvay asked 9/7, 2023 at 4:26
10
I ran into this problem when I was trying to import the following libraries and it is giving the error "ImportError: cannot import name 'VectorStoreIndex' from 'llama_index' (unknown location)...
Ziegfeld asked 12/2 at 22:56
6
OpenAI's GPT embedding models are used across all LlamaIndex examples, even though they seem to be the most expensive and worst performing embedding models compared to T5 and sentence-transformers ...
Leavings asked 31/5, 2023 at 9:53
5
Getting error while importing Ollama from 'llama_index.llms' in Linux OS.
from llama_index.llms import Ollama
response = llm.complete(f"What is code?")
print(response)
I installed Olla...
Marmoreal asked 5/3 at 5:37
4
Solved
I'm currently working on developing a chatbot powered by a Large Language Model (LLM), and I want it to provide responses based on my own documents. I understand that using a fine-tuned model...
Brochure asked 28/8, 2023 at 7:22
0
I am building a query engine with LlamaIndex, based on a large database of PDFs, and I would like to be able to retrieve the page number with the sources.
The goal is to help the final user to look...
Kinelski asked 6/10, 2023 at 21:12
1
Solved
I want to execute this code in google colab but I get following error:
from llama_index.prompts.prompts import SimpleInputPrompt
# Create a system prompt
system_prompt = """[INST] ...
Tillett asked 19/8, 2023 at 10:11
2
Solved
I'm getting good results with llama_index having indexed PDFs, however I am having trouble finding which PDF it found the results in to base its answers upon. result.node_sources uses a Doc id whic...
Rover asked 22/5, 2023 at 16:13
2
Solved
I am creating a very simple question and answer app based on documents using llama-index. Previously, I had it working with OpenAI. Now I want to try using no external APIs so I'm trying the Huggin...
Submerged asked 26/7, 2023 at 13:19
1
I am fairly new to using llama-index library for training GPT-3 as well as using ChatGPT through the standard API (both in Python). I have noticed that standard ChatGPT API i could simply do the fo...
Informed asked 10/4, 2023 at 18:45
1
Solved
I'm just getting started with working with LLMs, particularly OpenAIs and other OSS models. There are a lot of guides on using LlamaIndex to create a store of all your documents and then query on t...
Audubon asked 24/6, 2023 at 12:12
2
Solved
I've followed this tutorial (colab notebook) in order to finetune my model.
Trying to load my locally saved model
model = AutoModelForCausalLM.from_pretrained("finetuned_model")
yields K...
Tourist asked 12/6, 2023 at 17:34
1
I am testing LlamaIndex using the Vicuna-7b or 13b models. I have encountered an issue where the model's memory usage appears to be normal when loaded into CPU memory. However, when I place it on t...
Billyebilobate asked 30/5, 2023 at 11:42
2
As given in https://gpt-index.readthedocs.io/en/latest/guides/tutorials/building_a_chatbot.html we wrote a chatbot to index our reference materials and it works fine. The biggest issue it has is th...
Setser asked 14/4, 2023 at 17:54
3
I am not able to import LLaMATokenizer
Any solution for this problem?
I am using the code of this repo.
https://github.com/zphang/transformers/tree/llama_push
and trying to load the models and toke...
Lachance asked 1/4, 2023 at 17:51
2
I'm testing a couple of the widely published GPT models just trying to get my feet wet and I am running into an error that I cannot solve.
I am running this code:
from llama_index import SimpleDire...
Hygienist asked 3/4, 2023 at 22:27
1
© 2022 - 2024 — McMap. All rights reserved.