Instructions to use fzbuzz/COMET2019_ConceptNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fzbuzz/COMET2019_ConceptNet with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="fzbuzz/COMET2019_ConceptNet", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("fzbuzz/COMET2019_ConceptNet", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 488 Bytes
5d30583 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | {
"adpt": 0.1,
"afn": "gelu",
"architectures": [
"HF_LMModel"
],
"auto_map": {
"AutoConfig": "config.COMET19_CN_Config",
"AutoModel": "model.HF_LMModel"
},
"edpt": 0.1,
"hSize": 768,
"init": "pt",
"model": "transformer",
"nH": 12,
"nL": 12,
"n_ctx": 31,
"n_vocab": 40545,
"odpt": 0.1,
"pt": "gpt",
"rdpt": 0.1,
"return_acts": true,
"return_probs": false,
"torch_dtype": "float32",
"transformers_version": "4.25.1",
"vSize": 40545
}
|