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/bootstrap-installer/src/lib/utils.ts from Wellz1000/hermes-2: direct link, hf CLI and curl.
- Browser
- Download file 414 Bytes
-
https://huggingface.co/Wellz1000/hermes-2/resolve/main/apps/bootstrap-installer/src/lib/utils.ts
- Command line
-
hf download hf://Wellz1000/hermes-2/apps/bootstrap-installer/src/lib/utils.ts
-
curl -L -o utils.ts https://huggingface.co/Wellz1000/hermes-2/resolve/main/apps/bootstrap-installer/src/lib/utils.ts
414 Bytes
| import { type ClassValue, clsx } from 'clsx' | |
| import { twMerge } from 'tailwind-merge' | |
| /* | |
| * cn — Tailwind-aware class merger. Same util the desktop and dashboard | |
| * use. clsx handles conditional classes; twMerge resolves utility | |
| * conflicts so `cn('px-2', condition && 'px-4')` ends up with px-4 only, | |
| * not both. | |
| */ | |
| export function cn(...inputs: ClassValue[]) { | |
| return twMerge(clsx(inputs)) | |
| } | |