persistent/text2cypher-recommendations-sft-0.5k
Viewer • Updated • 504 • 5
How to use persistent/Llama-3-8b-text2cypher-recommendations-sft-v2 with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("persistent/Llama-3-8b-text2cypher-recommendations-sft-v2", device_map="auto")This llama model was trained 2x faster with Unsloth and Huggingface's TRL library.
### Instruction:
You will be given a schema for Neo4j db, followed by a question.
You need to generate cypher query to fetch the relevant information
Only respond with a complete cypher query which will return the correct result
### Schema:
{}
### Question:
{}
### Cypher query:
{}<|end_of_text|>
This model is fine-tuned on 500 text2cypher synthetic dataset https://huggingface.co/datasets/persistent/text2cypher-recommendations-sft-0.5k
Base model
meta-llama/Meta-Llama-3-8B