awslabs / awslabs/gap-text2sql

How to execute own queries?

Open
#5 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
109
Forks
25
PR merge metrics
No merged PRs in 30d

Description

Hello I would like to insert my own Questions and Databases but when I try to change the Spider json files it get the error:

```
RuntimeError: Error(s) in loading state_dict for EncDecModel:
size mismatch for decoder.rule_logits.2.weight: copying a param with shape torch.Size([97, 128]) from checkpoint, the shape in current model is torch.Size([76, 128]).
size mismatch for decoder.rule_logits.2.bias: copying a param with shape torch.Size([97]) from checkpoint, the shape in current model is torch.Size([76]).
size mismatch for decoder.rule_embedding.weight: copying a param with shape torch.Size([97, 128]) from checkpoint, the shape in current model is torch.Size([76, 128]).
size mismatch for decoder.node_type_embedding.weight: copying a param with shape torch.Size([55, 64]) from checkpoint, the shape in current model is torch.Size([49, 64]).
```

Is the an elegant solution to test my own data?
Thanks in advance!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.