Instructions to use javauser/nda_central_learning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use javauser/nda_central_learning with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="javauser/nda_central_learning")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("javauser/nda_central_learning") model = AutoModelForSequenceClassification.from_pretrained("javauser/nda_central_learning", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "_name_or_path": "distilbert-base-uncased", | |
| "activation": "gelu", | |
| "architectures": [ | |
| "DistilBertForSequenceClassification" | |
| ], | |
| "attention_dropout": 0.1, | |
| "dim": 768, | |
| "dropout": 0.1, | |
| "hidden_dim": 3072, | |
| "id2label": { | |
| "0": "amendments", | |
| "1": "arbitration choice of law", | |
| "2": "arbitration procedure", | |
| "3": "audit", | |
| "4": "battle of forms", | |
| "5": "change of control", | |
| "6": "confidential information", | |
| "7": "consequences of termination of contract", | |
| "8": "counterpart copy", | |
| "9": "data privacy", | |
| "10": "data security", | |
| "11": "definitions", | |
| "12": "duration of contract", | |
| "13": "duty of confidentiality mutual", | |
| "14": "equitable remedies", | |
| "15": "expenses", | |
| "16": "export restrictions", | |
| "17": "extra costs", | |
| "18": "governing law", | |
| "19": "ip rights", | |
| "20": "jurisdiction (courts)", | |
| "21": "legal costs", | |
| "22": "liability exclusion", | |
| "23": "liability reasons", | |
| "24": "license rights", | |
| "25": "liquidated damages", | |
| "26": "mediation", | |
| "27": "no third party rights or beneficiaries disclaimer", | |
| "28": "no warranty", | |
| "29": "non-assignment", | |
| "30": "non-solicitation agreement", | |
| "31": "notice date", | |
| "32": "notices", | |
| "33": "ordinary notice period", | |
| "34": "ownership", | |
| "35": "passing of risk", | |
| "36": "payment deadline", | |
| "37": "permissible disclosure to third party", | |
| "38": "place of performance", | |
| "39": "reference to further agreements", | |
| "40": "renewal or extension of contract", | |
| "41": "severability", | |
| "42": "succession", | |
| "43": "termination of contract", | |
| "44": "waivers", | |
| "45": "warranty of title" | |
| }, | |
| "initializer_range": 0.02, | |
| "label2id": { | |
| "amendments": 0, | |
| "arbitration choice of law": 1, | |
| "arbitration procedure": 2, | |
| "audit": 3, | |
| "battle of forms": 4, | |
| "change of control": 5, | |
| "confidential information": 6, | |
| "consequences of termination of contract": 7, | |
| "counterpart copy": 8, | |
| "data privacy": 9, | |
| "data security": 10, | |
| "definitions": 11, | |
| "duration of contract": 12, | |
| "duty of confidentiality mutual": 13, | |
| "equitable remedies": 14, | |
| "expenses": 15, | |
| "export restrictions": 16, | |
| "extra costs": 17, | |
| "governing law": 18, | |
| "ip rights": 19, | |
| "jurisdiction (courts)": 20, | |
| "legal costs": 21, | |
| "liability exclusion": 22, | |
| "liability reasons": 23, | |
| "license rights": 24, | |
| "liquidated damages": 25, | |
| "mediation": 26, | |
| "no third party rights or beneficiaries disclaimer": 27, | |
| "no warranty": 28, | |
| "non-assignment": 29, | |
| "non-solicitation agreement": 30, | |
| "notice date": 31, | |
| "notices": 32, | |
| "ordinary notice period": 33, | |
| "ownership": 34, | |
| "passing of risk": 35, | |
| "payment deadline": 36, | |
| "permissible disclosure to third party": 37, | |
| "place of performance": 38, | |
| "reference to further agreements": 39, | |
| "renewal or extension of contract": 40, | |
| "severability": 41, | |
| "succession": 42, | |
| "termination of contract": 43, | |
| "waivers": 44, | |
| "warranty of title": 45 | |
| }, | |
| "max_position_embeddings": 512, | |
| "model_type": "distilbert", | |
| "n_heads": 12, | |
| "n_layers": 6, | |
| "pad_token_id": 0, | |
| "problem_type": "single_label_classification", | |
| "qa_dropout": 0.1, | |
| "seq_classif_dropout": 0.2, | |
| "sinusoidal_pos_embds": false, | |
| "tie_weights_": true, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.32.0.dev0", | |
| "vocab_size": 30522 | |
| } | |