Downloads · 30 days
17
4% of all-time downloads
HannaAbiAkl/psychic
psychic is a question answering model from HannaAbiAkl. Use it when the input is a question plus a passage. It is set up for transformers. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
17
4% of all-time downloads
All-time downloads
476
Public
Repo size
1.9 GB
Likes
2
Public
Click a slice to open those files.
.bin265 MB · 100%
From the Hugging Face model README
PSYCHIC (Pre-trained SYmbolic CHecker In Context) is a model that is a fine-tuned version of distilbert-base-uncased on the DBLP-QuAD dataset. It achieves the following results on the evaluation set:
The model is trained to learn specific tokens from a question and its context to better determine the answer from the context. It is fine-tuned on the Extractive QA task from which it should return the answer to a knowledge graph question in the form of a SPARQL query. The advantage of PSYCHIC is that it leverages neuro-symbolic capabilities to validate query structures as well as LLM capacities to learn from context tokens.
This model is intended to be used with a question-context pair to determine the answer in the form of a SPARQL query.
The DBLP-QuAD dataset is used for training and evaluation.
Here's an example of the model capabilities:
input:
output: sparql: ASK { https://dblp.org/rec/conf/forte/Gouda95 https://dblp.org/rdf/schema#authoredBy https://dblp.org/pid/g/MohamedGGouda } [SEP] [https://dblp.org/pid/g/MohamedGGouda, https://dblp.org/rec/conf/forte/Gouda95]
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.001 | 1.0 | 1000 | 0.0001 |
| 0.0005 | 2.0 | 2000 | 0.0000 |
| 0.0002 | 3.0 | 3000 | 0.0000 |