Token Classification
Transformers
ONNX
Safetensors
Transformers.js
modernbert
hallucination-detection
groundedness
faithfulness
span-detection
rag
guardrails
agent-forensics
observability
tamarillo
hallucination
rag-evaluation
llm-observability
Instructions to use Tamarillo/groundedness-guard-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Tamarillo/groundedness-guard-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Tamarillo/groundedness-guard-small")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Tamarillo/groundedness-guard-small") model = AutoModelForTokenClassification.from_pretrained("Tamarillo/groundedness-guard-small", device_map="auto") - Transformers.js
How to use Tamarillo/groundedness-guard-small with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('token-classification', 'Tamarillo/groundedness-guard-small'); - Notebooks
- Google Colab
- Kaggle
Improve HF Hub discoverability (tags, widget examples, sibling/Space links)
Browse files
README.md
CHANGED
|
@@ -1,43 +1,57 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
language:
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
base_model: jhu-clsp/mmBERT-small
|
| 19 |
pipeline_tag: token-classification
|
| 20 |
library_name: transformers
|
| 21 |
datasets:
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
tags:
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
---
|
| 42 |
|
| 43 |
# Tamarillo/groundedness-guard-small
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
language:
|
| 4 |
+
- en
|
| 5 |
+
- ar
|
| 6 |
+
- ca
|
| 7 |
+
- cs
|
| 8 |
+
- de
|
| 9 |
+
- es
|
| 10 |
+
- eu
|
| 11 |
+
- fa
|
| 12 |
+
- fi
|
| 13 |
+
- fr
|
| 14 |
+
- hi
|
| 15 |
+
- it
|
| 16 |
+
- sv
|
| 17 |
+
- zh
|
| 18 |
base_model: jhu-clsp/mmBERT-small
|
| 19 |
pipeline_tag: token-classification
|
| 20 |
library_name: transformers
|
| 21 |
datasets:
|
| 22 |
+
- MoritzLaurer/synthetic_zeroshot_mixtral_v0.1
|
| 23 |
+
- alisawuffles/WANLI
|
| 24 |
+
- nyu-mll/multi_nli
|
| 25 |
+
- McGill-NLP/FaithDial
|
| 26 |
+
- lytang/C2D-and-D2C-MiniCheck
|
| 27 |
+
- Salesforce/summedits
|
| 28 |
+
- s-nlp/PsiloQA
|
| 29 |
tags:
|
| 30 |
+
- hallucination-detection
|
| 31 |
+
- groundedness
|
| 32 |
+
- faithfulness
|
| 33 |
+
- token-classification
|
| 34 |
+
- span-detection
|
| 35 |
+
- rag
|
| 36 |
+
- guardrails
|
| 37 |
+
- agent-forensics
|
| 38 |
+
- observability
|
| 39 |
+
- onnx
|
| 40 |
+
- tamarillo
|
| 41 |
+
- transformers.js
|
| 42 |
+
- hallucination
|
| 43 |
+
- rag-evaluation
|
| 44 |
+
- llm-observability
|
| 45 |
+
widget:
|
| 46 |
+
- text: 'Context: Acme Corp reported $42M in Q3 revenue with 180 employees.
|
| 47 |
+
|
| 48 |
+
Answer: Acme Corp reported $42M in Q3 revenue and recently acquired BetaAI for
|
| 49 |
+
$120M.'
|
| 50 |
+
example_title: Unsupported Claim Span
|
| 51 |
+
- text: 'Context: The refund policy covers unopened items within 30 days.
|
| 52 |
+
|
| 53 |
+
Answer: Unopened items can be returned for a refund within 30 days.'
|
| 54 |
+
example_title: Fully Grounded
|
| 55 |
---
|
| 56 |
|
| 57 |
# Tamarillo/groundedness-guard-small
|