Token Classification
Transformers
Safetensors
modernbert
semantic-router
vela
hallucination-detection
Instructions to use vllm-sr/Vela-1.0-Encoder-307M-Halu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vllm-sr/Vela-1.0-Encoder-307M-Halu with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="vllm-sr/Vela-1.0-Encoder-307M-Halu")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("vllm-sr/Vela-1.0-Encoder-307M-Halu") model = AutoModelForTokenClassification.from_pretrained("vllm-sr/Vela-1.0-Encoder-307M-Halu", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download NOTICE from vllm-sr/Vela-1.0-Encoder-307M-Halu: direct link, hf CLI and curl.
- Browser
- Download file 2.47 kB
-
https://huggingface.co/vllm-sr/Vela-1.0-Encoder-307M-Halu/resolve/469c730769786b05a8061c88bdb64db581d6a394/NOTICE
- Command line
-
hf download hf://vllm-sr/Vela-1.0-Encoder-307M-Halu@469c730769786b05a8061c88bdb64db581d6a394/NOTICE
-
curl -L -o NOTICE https://huggingface.co/vllm-sr/Vela-1.0-Encoder-307M-Halu/resolve/469c730769786b05a8061c88bdb64db581d6a394/NOTICE
2.47 kB
| Vela Halu | |
| This model is fine-tuned from llm-semantic-router/Vela-1.0-Encoder-307M, released under the MIT license. | |
| Foundation: https://huggingface.co/llm-semantic-router/Vela-1.0-Encoder-307M/tree/fe9ccc074b781bc0e2e13c2c8d26f2640410636a | |
| Its underlying mmBERT foundation is jhu-clsp/mmBERT-base (MIT): | |
| https://huggingface.co/jhu-clsp/mmBERT-base | |
| mmBERT authors: Marc Marone, Orion Weller, William Fleshman, Eugene Yang, | |
| Dawn Lawrie, and Benjamin Van Durme. | |
| The model cards declare MIT; no separate copyright notice was supplied with | |
| these foundation model artifacts. The MIT permission and disclaimer follow: | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: | |
| The above copyright notice and this permission notice shall be included in all | |
| copies or substantial portions of the Software. | |
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
| SOFTWARE. | |
| Training-data attribution | |
| The following datasets are distributed by KRLabsOrg under CC BY 4.0: | |
| - https://huggingface.co/datasets/KRLabsOrg/lettucedetect-code-hallucination | |
| - https://huggingface.co/datasets/KRLabsOrg/lettucedetect-prose-hallucination | |
| License: https://creativecommons.org/licenses/by/4.0/ | |
| Code hallucination dataset: Ádám Kovács, Bowei He, Xue Liu, István Boros, | |
| Szilveszter Tóth, and Gábor Recski. | |
| Prose dataset and LettuceDetect: Ádám Kovács and Gábor Recski. | |
| Original prose sources: https://huggingface.co/datasets/s-nlp/PsiloQA | |
| and https://github.com/ParticleMedia/RAGTruth | |
| The source prompts and answers were tokenized; annotated spans were mapped | |
| to binary answer-token labels for fine-tuning. No dataset rows are distributed | |
| in this model repository. Dataset licenses do not replace the model license. | |