Instructions to use Wellz1000/hermes-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- HERMES
How to use Wellz1000/hermes-2 with HERMES:
# 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
Download apps/desktop/scripts/utils.mjs from Wellz1000/hermes-2: direct link, hf CLI and curl.
- Browser
- Download file 241 Bytes
-
https://huggingface.co/Wellz1000/hermes-2/resolve/main/apps/desktop/scripts/utils.mjs
- Command line
-
hf download hf://Wellz1000/hermes-2/apps/desktop/scripts/utils.mjs
-
curl -L -o utils.mjs https://huggingface.co/Wellz1000/hermes-2/resolve/main/apps/desktop/scripts/utils.mjs
241 Bytes
| import { pathToFileURL } from 'node:url'; | |
| // returns true if the passsed file is being invoked from node, | |
| // not imported. | |
| export function isMain(importMetaUrl) { | |
| return importMetaUrl === pathToFileURL(process.argv[1]).href; | |
| } |