Update ML Intern artifact metadata
Browse files
README.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# 🛡️ HALT-RAG: Hallucination-Aware Retrieval-Augmented Generation
|
| 2 |
|
| 3 |
A complete, end-to-end research-style demo system for Google Colab (A100 GPU).
|
|
@@ -44,3 +48,23 @@ A complete, end-to-end research-style demo system for Google Colab (A100 GPU).
|
|
| 44 |
## License
|
| 45 |
|
| 46 |
MIT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- ml-intern
|
| 4 |
+
---
|
| 5 |
# 🛡️ HALT-RAG: Hallucination-Aware Retrieval-Augmented Generation
|
| 6 |
|
| 7 |
A complete, end-to-end research-style demo system for Google Colab (A100 GPU).
|
|
|
|
| 48 |
## License
|
| 49 |
|
| 50 |
MIT
|
| 51 |
+
|
| 52 |
+
<!-- ml-intern-provenance -->
|
| 53 |
+
## Generated by ML Intern
|
| 54 |
+
|
| 55 |
+
This model repository was generated by [ML Intern](https://github.com/huggingface/ml-intern), an agent for machine learning research and development on the Hugging Face Hub.
|
| 56 |
+
|
| 57 |
+
- Try ML Intern: https://smolagents-ml-intern.hf.space
|
| 58 |
+
- Source code: https://github.com/huggingface/ml-intern
|
| 59 |
+
|
| 60 |
+
## Usage
|
| 61 |
+
|
| 62 |
+
```python
|
| 63 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 64 |
+
|
| 65 |
+
model_id = "kevindoescode/HALT-RAG-Demo"
|
| 66 |
+
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 67 |
+
model = AutoModelForCausalLM.from_pretrained(model_id)
|
| 68 |
+
```
|
| 69 |
+
|
| 70 |
+
For non-causal architectures, replace `AutoModelForCausalLM` with the appropriate `AutoModel` class.
|