Text Classification
TensorRT
Core ML
ONNX
Safetensors
OpenVINO
code
multilingual
xlm-roberta
knowledge-graph
relation-extraction
relation-classification
cross-encoder
knowledge-distillation
Instructions to use faxenoff/code-daemon-relation-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TensorRT
How to use faxenoff/code-daemon-relation-v1 with TensorRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Upload config.json with huggingface_hub
Browse files- config.json +50 -0
config.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_cross_attention": false,
|
| 3 |
+
"architectures": [
|
| 4 |
+
"XLMRobertaForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"classifier_dropout": null,
|
| 9 |
+
"dtype": "float32",
|
| 10 |
+
"eos_token_id": 2,
|
| 11 |
+
"hidden_act": "gelu",
|
| 12 |
+
"hidden_dropout_prob": 0.1,
|
| 13 |
+
"hidden_size": 384,
|
| 14 |
+
"id2label": {
|
| 15 |
+
"0": "NO_RELATION",
|
| 16 |
+
"1": "semantically_similar_to",
|
| 17 |
+
"2": "shares_purpose_with",
|
| 18 |
+
"3": "invalidates_with",
|
| 19 |
+
"4": "configured_by",
|
| 20 |
+
"5": "depends_on",
|
| 21 |
+
"6": "contradicts",
|
| 22 |
+
"7": "replaced_by"
|
| 23 |
+
},
|
| 24 |
+
"initializer_range": 0.02,
|
| 25 |
+
"intermediate_size": 1536,
|
| 26 |
+
"is_decoder": false,
|
| 27 |
+
"label2id": {
|
| 28 |
+
"NO_RELATION": 0,
|
| 29 |
+
"configured_by": 4,
|
| 30 |
+
"contradicts": 6,
|
| 31 |
+
"depends_on": 5,
|
| 32 |
+
"invalidates_with": 3,
|
| 33 |
+
"replaced_by": 7,
|
| 34 |
+
"semantically_similar_to": 1,
|
| 35 |
+
"shares_purpose_with": 2
|
| 36 |
+
},
|
| 37 |
+
"layer_norm_eps": 1e-05,
|
| 38 |
+
"max_position_embeddings": 514,
|
| 39 |
+
"model_type": "xlm-roberta",
|
| 40 |
+
"num_attention_heads": 12,
|
| 41 |
+
"num_hidden_layers": 12,
|
| 42 |
+
"pad_token_id": 1,
|
| 43 |
+
"position_embedding_type": "absolute",
|
| 44 |
+
"sbert_ce_default_activation_function": "torch.nn.modules.linear.Identity",
|
| 45 |
+
"tie_word_embeddings": true,
|
| 46 |
+
"transformers_version": "5.1.0",
|
| 47 |
+
"type_vocab_size": 1,
|
| 48 |
+
"use_cache": true,
|
| 49 |
+
"vocab_size": 250006
|
| 50 |
+
}
|