Seeking Advice on Optimizing SageMaker/Hugging Face Endpoint for Cypher Query Generation #4723
Unanswered
IanKennedy99999
asked this question in
Q&A
Replies: 1 comment
-
The issue with the generated Cypher query is that it's using AS incorrectly. In Cypher, AS should be followed by a valid alias for the field, but it seems like ASupply is causing a syntax error because it's not correctly formatted. The revised query:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I am currently working on a system that generates Cypher queries based on a user's question and then answers the question based on the query results. I am using two separate Llama-3 8B endpoints on AWS SageMaker to accomplish this. As a newcomer to this field, I would greatly appreciate any advice on optimizing my setup. Here are a few areas where I need guidance:
Improving Efficiency: Are there better ways to achieve this functionality rather than using two separate endpoints?
Message Formatting: I am struggling with formatting my messages, resulting in a significant amount of post-processing. Any tips on how to streamline this process would be highly beneficial.
Model Training: I am training the model on specific data (attached below). I would appreciate any suggestions on improving the training process or the data itself.
Here is my code:
`
Beta Was this translation helpful? Give feedback.
All reactions