Text Classification
Transformers
Safetensors
English
roberta
duplicate-detection
trade-news
information-retrieval
event-deduplication
nli
entailment
text-embeddings-inference
Instructions to use afafos/trade-news-dedup-roberta-large-nli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use afafos/trade-news-dedup-roberta-large-nli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="afafos/trade-news-dedup-roberta-large-nli")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("afafos/trade-news-dedup-roberta-large-nli") model = AutoModelForSequenceClassification.from_pretrained("afafos/trade-news-dedup-roberta-large-nli", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "model_name_or_path": "ynie/roberta-large-snli_mnli_fever_anli_R1_R2_R3-nli", | |
| "data_path": "data/silver_dataset/silver_dataset.xlsx", | |
| "base_pairs": 16083, | |
| "train_pairs": 32166, | |
| "train_pos_rate": 0.33899148168873966, | |
| "do_eval": false, | |
| "val_ratio": 0.0, | |
| "effective_add_swapped": true, | |
| "effective_nli_negative_label": "neutral", | |
| "label_col_used": null, | |
| "id_col_used": null, | |
| "head_info": { | |
| "model_name_or_path": "ynie/roberta-large-snli_mnli_fever_anli_R1_R2_R3-nli", | |
| "num_labels": 3, | |
| "kind": "nli3", | |
| "pos_label_id": 0, | |
| "neg_label_id": 1, | |
| "nli_negative_label": "neutral" | |
| }, | |
| "eval_metrics": null, | |
| "transformers_version": "5.2.0", | |
| "device": "cuda" | |
| } |