Run this model with HF Jobs
Run simonykq/gl-foundation-model-h1024 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/simonykq/gl-foundation-model-h1024. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/simonykq/gl-foundation-model-h1024 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/simonykq/gl-foundation-model-h1024. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/simonykq/gl-foundation-model-h1024. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use simonykq/gl-foundation-model-h1024 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use simonykq/gl-foundation-model-h1024 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="simonykq/gl-foundation-model-h1024")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("simonykq/gl-foundation-model-h1024") model = AutoModelForCausalLM.from_pretrained("simonykq/gl-foundation-model-h1024", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use simonykq/gl-foundation-model-h1024 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "simonykq/gl-foundation-model-h1024" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "simonykq/gl-foundation-model-h1024", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/simonykq/gl-foundation-model-h1024
- SGLang
How to use simonykq/gl-foundation-model-h1024 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "simonykq/gl-foundation-model-h1024" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "simonykq/gl-foundation-model-h1024", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "simonykq/gl-foundation-model-h1024" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "simonykq/gl-foundation-model-h1024", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use simonykq/gl-foundation-model-h1024 with Docker Model Runner:
docker model run hf.co/simonykq/gl-foundation-model-h1024
Download tokenizer.json from simonykq/gl-foundation-model-h1024: direct link, hf CLI and curl.
- Browser
- Download file 11.4 kB
-
https://huggingface.co/simonykq/gl-foundation-model-h1024/resolve/main/tokenizer.json
- Command line
-
hf download hf://simonykq/gl-foundation-model-h1024/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/simonykq/gl-foundation-model-h1024/resolve/main/tokenizer.json
11.4 kB
| { | |
| "version": "1.0", | |
| "truncation": null, | |
| "padding": null, | |
| "added_tokens": [ | |
| { | |
| "id": 0, | |
| "content": "<pad>", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| { | |
| "id": 1, | |
| "content": "<bos>", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| { | |
| "id": 2, | |
| "content": "<eos>", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| { | |
| "id": 3, | |
| "content": "<sep>", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| { | |
| "id": 4, | |
| "content": "<unk>", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| } | |
| ], | |
| "normalizer": null, | |
| "pre_tokenizer": { | |
| "type": "WhitespaceSplit" | |
| }, | |
| "post_processor": { | |
| "type": "TemplateProcessing", | |
| "single": [ | |
| { | |
| "Sequence": { | |
| "id": "A", | |
| "type_id": 0 | |
| } | |
| } | |
| ], | |
| "pair": [ | |
| { | |
| "Sequence": { | |
| "id": "A", | |
| "type_id": 0 | |
| } | |
| }, | |
| { | |
| "Sequence": { | |
| "id": "B", | |
| "type_id": 1 | |
| } | |
| } | |
| ], | |
| "special_tokens": { | |
| "<bos>": { | |
| "id": "<bos>", | |
| "ids": [ | |
| 1 | |
| ], | |
| "tokens": [ | |
| "<bos>" | |
| ] | |
| }, | |
| "<eos>": { | |
| "id": "<eos>", | |
| "ids": [ | |
| 2 | |
| ], | |
| "tokens": [ | |
| "<eos>" | |
| ] | |
| } | |
| } | |
| }, | |
| "decoder": null, | |
| "model": { | |
| "type": "WordLevel", | |
| "vocab": { | |
| "<pad>": 0, | |
| "<bos>": 1, | |
| "<eos>": 2, | |
| "<sep>": 3, | |
| "<unk>": 4, | |
| "ACCT_10600": 5, | |
| "ACCT_12000": 6, | |
| "ACCT_12001": 7, | |
| "ACCT_12002": 8, | |
| "ACCT_12003": 9, | |
| "ACCT_12004": 10, | |
| "ACCT_12005": 11, | |
| "ACCT_12006": 12, | |
| "ACCT_12007": 13, | |
| "ACCT_12008": 14, | |
| "ACCT_12009": 15, | |
| "ACCT_12010": 16, | |
| "ACCT_12011": 17, | |
| "ACCT_12012": 18, | |
| "ACCT_12013": 19, | |
| "ACCT_12014": 20, | |
| "ACCT_12015": 21, | |
| "ACCT_12016": 22, | |
| "ACCT_12017": 23, | |
| "ACCT_12018": 24, | |
| "ACCT_12019": 25, | |
| "ACCT_12020": 26, | |
| "ACCT_12021": 27, | |
| "ACCT_12022": 28, | |
| "ACCT_12023": 29, | |
| "ACCT_12024": 30, | |
| "ACCT_12025": 31, | |
| "ACCT_12026": 32, | |
| "ACCT_12027": 33, | |
| "ACCT_12028": 34, | |
| "ACCT_12029": 35, | |
| "ACCT_12030": 36, | |
| "ACCT_12031": 37, | |
| "ACCT_12032": 38, | |
| "ACCT_12033": 39, | |
| "ACCT_12034": 40, | |
| "ACCT_12035": 41, | |
| "ACCT_12036": 42, | |
| "ACCT_12037": 43, | |
| "ACCT_12038": 44, | |
| "ACCT_12039": 45, | |
| "ACCT_12040": 46, | |
| "ACCT_12041": 47, | |
| "ACCT_12042": 48, | |
| "ACCT_12043": 49, | |
| "ACCT_12044": 50, | |
| "ACCT_12045": 51, | |
| "ACCT_12046": 52, | |
| "ACCT_12047": 53, | |
| "ACCT_12048": 54, | |
| "ACCT_12049": 55, | |
| "ACCT_12050": 56, | |
| "ACCT_12051": 57, | |
| "ACCT_12052": 58, | |
| "ACCT_12053": 59, | |
| "ACCT_12054": 60, | |
| "ACCT_12055": 61, | |
| "ACCT_12056": 62, | |
| "ACCT_12057": 63, | |
| "ACCT_12058": 64, | |
| "ACCT_12059": 65, | |
| "ACCT_12060": 66, | |
| "ACCT_12061": 67, | |
| "ACCT_12062": 68, | |
| "ACCT_12063": 69, | |
| "ACCT_12064": 70, | |
| "ACCT_12065": 71, | |
| "ACCT_12066": 72, | |
| "ACCT_12067": 73, | |
| "ACCT_12068": 74, | |
| "ACCT_12069": 75, | |
| "ACCT_12070": 76, | |
| "ACCT_12071": 77, | |
| "ACCT_12072": 78, | |
| "ACCT_12073": 79, | |
| "ACCT_12074": 80, | |
| "ACCT_12075": 81, | |
| "ACCT_12076": 82, | |
| "ACCT_12077": 83, | |
| "ACCT_12078": 84, | |
| "ACCT_12079": 85, | |
| "ACCT_12080": 86, | |
| "ACCT_12081": 87, | |
| "ACCT_12082": 88, | |
| "ACCT_12083": 89, | |
| "ACCT_12084": 90, | |
| "ACCT_12085": 91, | |
| "ACCT_12086": 92, | |
| "ACCT_12087": 93, | |
| "ACCT_12088": 94, | |
| "ACCT_12089": 95, | |
| "ACCT_12090": 96, | |
| "ACCT_12091": 97, | |
| "ACCT_15200": 98, | |
| "ACCT_15300": 99, | |
| "ACCT_15400": 100, | |
| "ACCT_15700": 101, | |
| "ACCT_18100": 102, | |
| "ACCT_18150": 103, | |
| "ACCT_18250": 104, | |
| "ACCT_21011": 105, | |
| "ACCT_21012": 106, | |
| "ACCT_21013": 107, | |
| "ACCT_21800": 108, | |
| "ACCT_21850": 109, | |
| "ACCT_21900": 110, | |
| "ACCT_23100": 111, | |
| "ACCT_23150": 112, | |
| "ACCT_31000": 113, | |
| "ACCT_40000": 114, | |
| "ACCT_42100": 115, | |
| "ACCT_42200": 116, | |
| "ACCT_42300": 117, | |
| "ACCT_42400": 118, | |
| "ACCT_50000": 119, | |
| "ACCT_50100": 120, | |
| "ACCT_50200": 121, | |
| "ACCT_50300": 122, | |
| "ACCT_50400": 123, | |
| "ACCT_54100": 124, | |
| "ACCT_54200": 125, | |
| "ACCT_54300": 126, | |
| "ACCT_56150": 127, | |
| "ACCT_56600": 128, | |
| "ACCT_57600": 129, | |
| "ACCT_57900": 130, | |
| "ACCT_UNK": 131, | |
| "CLASS_AP": 132, | |
| "CLASS_AR": 133, | |
| "CLASS_ASSET": 134, | |
| "CLASS_CASH": 135, | |
| "CLASS_COGS": 136, | |
| "CLASS_CURRENT_ASSET": 137, | |
| "CLASS_CURRENT_LIABILITY": 138, | |
| "CLASS_EQUITY": 139, | |
| "CLASS_EXPENSE": 140, | |
| "CLASS_INVENTORY": 141, | |
| "CLASS_LIABILITY": 142, | |
| "CLASS_NONCURRENT_ASSET": 143, | |
| "CLASS_OCCUPANCY_EXPENSE": 144, | |
| "CLASS_OPERATING_EXPENSE": 145, | |
| "CLASS_PAYROLL_EXPENSE": 146, | |
| "CLASS_PAYROLL_PAYABLE": 147, | |
| "CLASS_PPE": 148, | |
| "CLASS_REVENUE": 149, | |
| "CLASS_REVENUE_TOTAL": 150, | |
| "CLASS_SALES": 151, | |
| "CLASS_TAX_PAYABLE": 152, | |
| "CLASS_UNK": 153, | |
| "DESC_ACCOUNTS_PAYABLE": 154, | |
| "DESC_ACCOUNTS_RECEIVABLE": 155, | |
| "DESC_ACCUM_AMORT": 156, | |
| "DESC_ADVERTISING_AND_PROMOTIONS": 157, | |
| "DESC_AMORTIZATION_EXPENSE": 158, | |
| "DESC_BANK_ACCOUNT": 159, | |
| "DESC_CPP_EXPENSE": 160, | |
| "DESC_CPP_PAYABLE": 161, | |
| "DESC_DRYWALL": 162, | |
| "DESC_EI_EXPENSE": 163, | |
| "DESC_EI_PAYABLE": 164, | |
| "DESC_FEDERAL_INCOME_TAX_PAYABLE": 165, | |
| "DESC_FURNITURE_AND_FIXTURES": 166, | |
| "DESC_HARDWARE": 167, | |
| "DESC_HST_CHARGED_ON_SALES": 168, | |
| "DESC_HST_PAID_ON_PURCHASES": 169, | |
| "DESC_LUMBER": 170, | |
| "DESC_MATERIAL": 171, | |
| "DESC_OWNERS_EQUITY": 172, | |
| "DESC_RENT": 173, | |
| "DESC_ROOFING_MATERIAL": 174, | |
| "DESC_SALES": 175, | |
| "DESC_TOTAL_EXPENSES": 176, | |
| "DESC_TOTAL_REVENUE": 177, | |
| "DESC_UNK": 178, | |
| "DESC_UTILITIES": 179, | |
| "DESC_VEHICLE": 180, | |
| "DESC_WAGES_AND_SALARIES": 181, | |
| "SUB_DRYWALL": 182, | |
| "SUB_FURNITURE_AND_FIXTURES": 183, | |
| "SUB_HARDWARE": 184, | |
| "SUB_LUMBER": 185, | |
| "SUB_NONE": 186, | |
| "SUB_ROOFING": 187, | |
| "SUB_ROOFING_MATERIAL": 188, | |
| "SUB_UNK": 189, | |
| "SUB_VEHICLE": 190, | |
| "SIDE_DR": 191, | |
| "SIDE_CR": 192, | |
| "SIDE_UNK": 193, | |
| "AMT_0": 194, | |
| "AMT_1": 195, | |
| "AMT_2": 196, | |
| "AMT_3": 197, | |
| "AMT_4": 198, | |
| "AMT_5": 199, | |
| "AMT_6": 200, | |
| "AMT_7": 201, | |
| "AMT_8": 202, | |
| "AMT_9": 203, | |
| "AMT_10": 204, | |
| "AMT_11": 205, | |
| "AMT_12": 206, | |
| "AMT_13": 207, | |
| "AMT_14": 208, | |
| "AMT_15": 209, | |
| "SRC_DEPR": 210, | |
| "SRC_INV_PAID": 211, | |
| "SRC_OPEX": 212, | |
| "SRC_OWNER": 213, | |
| "SRC_PAYROLL": 214, | |
| "SRC_PAYROLL_REMIT": 215, | |
| "SRC_PMT_RECV": 216, | |
| "SRC_PURCHASE": 217, | |
| "SRC_REPORT": 218, | |
| "SRC_SALE": 219, | |
| "SRC_TAX_REMIT": 220, | |
| "SRC_UNK": 221, | |
| "PARTY_CUSTOMER": 222, | |
| "PARTY_EMPLOYEE": 223, | |
| "PARTY_VENDOR": 224, | |
| "PARTY_RESTOCK": 225, | |
| "PARTY_CRA": 226, | |
| "PARTY_LANDLORD": 227, | |
| "PARTY_UTILITY": 228, | |
| "PARTY_SUPPLIER": 229, | |
| "PARTY_TAX_AUTH": 230, | |
| "PARTY_PERIOD": 231, | |
| "PARTY_OWNER": 232, | |
| "PARTY_ASSET": 233, | |
| "PARTY_UNK": 234, | |
| "PID_0": 235, | |
| "PID_1": 236, | |
| "PID_2": 237, | |
| "PID_3": 238, | |
| "PID_4": 239, | |
| "PID_5": 240, | |
| "PID_6": 241, | |
| "PID_7": 242, | |
| "PID_8": 243, | |
| "PID_9": 244, | |
| "PID_10": 245, | |
| "PID_11": 246, | |
| "PID_12": 247, | |
| "PID_13": 248, | |
| "PID_14": 249, | |
| "PID_15": 250, | |
| "PID_16": 251, | |
| "PID_17": 252, | |
| "PID_18": 253, | |
| "PID_19": 254, | |
| "PID_20": 255, | |
| "PID_21": 256, | |
| "PID_22": 257, | |
| "PID_23": 258, | |
| "PID_24": 259, | |
| "PID_25": 260, | |
| "PID_26": 261, | |
| "PID_27": 262, | |
| "PID_28": 263, | |
| "PID_29": 264, | |
| "PID_30": 265, | |
| "PID_31": 266, | |
| "PID_32": 267, | |
| "PID_33": 268, | |
| "PID_34": 269, | |
| "PID_35": 270, | |
| "PID_36": 271, | |
| "PID_37": 272, | |
| "PID_38": 273, | |
| "PID_39": 274, | |
| "PID_40": 275, | |
| "PID_41": 276, | |
| "PID_42": 277, | |
| "PID_43": 278, | |
| "PID_44": 279, | |
| "PID_45": 280, | |
| "PID_46": 281, | |
| "PID_47": 282, | |
| "PID_48": 283, | |
| "PID_49": 284, | |
| "PID_50": 285, | |
| "PID_51": 286, | |
| "PID_52": 287, | |
| "PID_53": 288, | |
| "PID_54": 289, | |
| "PID_55": 290, | |
| "PID_56": 291, | |
| "PID_57": 292, | |
| "PID_58": 293, | |
| "PID_59": 294, | |
| "PID_60": 295, | |
| "PID_61": 296, | |
| "PID_62": 297, | |
| "PID_63": 298, | |
| "PID_64": 299, | |
| "PID_65": 300, | |
| "PID_66": 301, | |
| "PID_67": 302, | |
| "PID_68": 303, | |
| "PID_69": 304, | |
| "PID_70": 305, | |
| "PID_71": 306, | |
| "PID_72": 307, | |
| "PID_73": 308, | |
| "PID_74": 309, | |
| "PID_75": 310, | |
| "PID_76": 311, | |
| "PID_77": 312, | |
| "PID_78": 313, | |
| "PID_79": 314, | |
| "PID_80": 315, | |
| "PID_81": 316, | |
| "PID_82": 317, | |
| "PID_83": 318, | |
| "PID_84": 319, | |
| "PID_85": 320, | |
| "PID_86": 321, | |
| "PID_87": 322, | |
| "PID_88": 323, | |
| "PID_89": 324, | |
| "PID_90": 325, | |
| "PID_91": 326, | |
| "PID_92": 327, | |
| "PID_93": 328, | |
| "PID_94": 329, | |
| "PID_95": 330, | |
| "PID_96": 331, | |
| "PID_97": 332, | |
| "PID_98": 333, | |
| "PID_99": 334, | |
| "YEAR_2000": 335, | |
| "YEAR_2001": 336, | |
| "YEAR_2002": 337, | |
| "YEAR_2003": 338, | |
| "YEAR_2004": 339, | |
| "YEAR_2005": 340, | |
| "YEAR_2006": 341, | |
| "YEAR_2007": 342, | |
| "YEAR_2008": 343, | |
| "YEAR_2009": 344, | |
| "YEAR_2010": 345, | |
| "YEAR_2011": 346, | |
| "YEAR_2012": 347, | |
| "YEAR_2013": 348, | |
| "YEAR_2014": 349, | |
| "YEAR_2015": 350, | |
| "YEAR_2016": 351, | |
| "YEAR_2017": 352, | |
| "YEAR_2018": 353, | |
| "YEAR_2019": 354, | |
| "YEAR_2020": 355, | |
| "YEAR_2021": 356, | |
| "YEAR_2022": 357, | |
| "YEAR_2023": 358, | |
| "YEAR_2024": 359, | |
| "YEAR_2025": 360, | |
| "YEAR_2026": 361, | |
| "YEAR_2027": 362, | |
| "YEAR_2028": 363, | |
| "YEAR_2029": 364, | |
| "YEAR_2030": 365, | |
| "YEAR_2031": 366, | |
| "YEAR_2032": 367, | |
| "YEAR_2033": 368, | |
| "YEAR_2034": 369, | |
| "YEAR_2035": 370, | |
| "YEAR_2036": 371, | |
| "YEAR_2037": 372, | |
| "YEAR_2038": 373, | |
| "YEAR_2039": 374, | |
| "MONTH_01": 375, | |
| "MONTH_02": 376, | |
| "MONTH_03": 377, | |
| "MONTH_04": 378, | |
| "MONTH_05": 379, | |
| "MONTH_06": 380, | |
| "MONTH_07": 381, | |
| "MONTH_08": 382, | |
| "MONTH_09": 383, | |
| "MONTH_10": 384, | |
| "MONTH_11": 385, | |
| "MONTH_12": 386, | |
| "DOW_0": 387, | |
| "DOW_1": 388, | |
| "DOW_2": 389, | |
| "DOW_3": 390, | |
| "DOW_4": 391, | |
| "DOW_5": 392, | |
| "DOW_6": 393, | |
| "BAL_OK": 394, | |
| "BAL_DR": 395, | |
| "BAL_CR": 396 | |
| }, | |
| "unk_token": "<unk>" | |
| } | |
| } |