Views
No views yet
HuggingFaceTB/SmolLM2-135M-Instruct on the
RomanTeucher/text2cypher-curated dataset for generating Cypher queries
from natural language questions and graph schemas.model_small/ — fine-tuned for 1 epoch (~24 minutes on CPU)model_large/ — fine-tuned for 3 epochs (~72 minutes on CPU) — best performance| Setting | Exact Match | BLEU Score |
|---|---|---|
| Baseline (no fine-tuning) | 0.00 | 0.0143 |
| Fine-tuned (1 epoch) | 0.22 | 0.4109 |
| Fine-tuned (3 epochs) | 0.40 | 0.5885 |
1# Clone the repository
2git clone https://github.com/sejal-0502/text2cypher.git
3cd text2cypher
4
5# Install dependencies
6pip install -r requirements.txt
7
8# Evaluate 3 epoch model directly from HuggingFace Hub
9python src/evaluate.py \
10 --model SejalMutakekar/text2cypher-smollm2-135m/model_large \
11 --output results/hub_3epoch_results.json
12
13# Evaluate 1 epoch model directly from HuggingFace Hub
14python src/evaluate.py \
15 --model SejalMutakekar/text2cypher-smollm2-135m/model_small \
16 --output results/hub_1epoch_results.json