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
| { | |
| "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 | |
| } | |