Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
datasets:
|
| 4 |
+
- sms1097/self_rag_tokens_train_data
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
# Support Model
|
| 8 |
+
|
| 9 |
+
This generates the `IsSupported` token as descirbed in Self-RAG.
|
| 10 |
+
|
| 11 |
+
We are testing to see if a generated LLM answer is supported by the document. This is similar to testing for a hallucination in the model result.
|
| 12 |
+
|
| 13 |
+
The expected input to the model is shown here:
|
| 14 |
+
|
| 15 |
+
```
|
| 16 |
+
Context: {'doc'}\nAnswer: {answer}"
|
| 17 |
+
```
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
### Training results:
|
| 21 |
+
```
|
| 22 |
+
{'eval_loss': 0.11030498147010803,
|
| 23 |
+
'eval_mse': 0.11030498147010803,
|
| 24 |
+
'eval_mae': 0.14249496161937714,
|
| 25 |
+
'eval_r2': 0.6906673524053266,
|
| 26 |
+
'eval_accuracy': 0.9117161716171617}
|
| 27 |
+
```
|