Comments (7)
Hi @yangyangyang-github
This is a typical openai API call.
If the function is going in an endless loop, can you please double check your openai credentials that was provided in the config.yaml file?
Also, we have already put guardrails in the api call function to stop making calls after some sufficient time using retry
module. Please refer here. Hence, if you are using the same functionality, it should not go to an endless loop.
Let me know how things turn out for you.
from kg_rag.
Hi @yangyangyang-github This is a typical openai API call. If the function is going in an endless loop, can you please double check your openai credentials that was provided in the config.yaml file? Also, we have already put guardrails in the api call function to stop making calls after some sufficient time using
retry
module. Please refer here. Hence, if you are using the same functionality, it should not go to an endless loop. Let me know how things turn out for you.
I have added openai.api_key parameters to the file. What exactly is the openai credentials that was provided in the config.yaml file? May I have a look, please?
from kg_rag.
You should have a file named '.gpt_config.env' and store it in your $HOME path. Content of the file should be in the following format:
API_KEY='openai api key'
API_VERSION='this is optional'
RESOURCE_ENDPOINT='this is optional'
from kg_rag.
from kg_rag.
The file contains API credentials, which, like any other sensitive information, should ideally not be shared publicly. Hope you get it :)
Feel free to reach out if you need further assistance!
from kg_rag.
from kg_rag.
@yangyangyang-github
Did you check if this is a memory issue? We are not using quantized versions of llama here, hence it could take a good chunk of memory. If you see here, you can see the size of the tensors for llama-13b and compare it with the memory of the machine that you are using.
I tried using llama-13b on p3.8x.large AWS instance which has following specs:
4 Tesla V100 GPU
64 GB GPU memory
32 vCPU
244 GB RAM
from kg_rag.
Related Issues (17)
- Why only the official Llama model from Meta? HOT 3
- issues with key format HOT 10
- Disease_ With_ Relationship_ To_ genes.pickle file HOT 5
- Error in retrieving context HOT 8
- meta-llama HOT 1
- errors when installing dependencies HOT 1
- Use other knowledge graphs HOT 3
- OSError: [Errno 101] Network is unreachable HOT 7
- Error in retrieving context for some diseases HOT 7
- No response from SPOKE api HOT 1
- vectorstore HOT 1
- ERROR: Could not build wheels for llama_cpp_python, which is required to install pyproject.toml-based projects HOT 1
- disease_nodes_db HOT 2
- Issues setting up KGRAG on macOS
- How to imply my own model
- The use of llama 3.1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kg_rag.