Run this model with HF Jobs
Run Kalslice/Large80 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/Kalslice/Large80. 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/Kalslice/Large80 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/Kalslice/Large80. 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/Kalslice/Large80. 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 Kalslice/Large80 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kalslice/Large80 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Kalslice/Large80")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Kalslice/Large80") model = AutoModelForCausalLM.from_pretrained("Kalslice/Large80", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Kalslice/Large80 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Kalslice/Large80" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Kalslice/Large80", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Kalslice/Large80
- SGLang
How to use Kalslice/Large80 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 "Kalslice/Large80" \ --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": "Kalslice/Large80", "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 "Kalslice/Large80" \ --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": "Kalslice/Large80", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Kalslice/Large80 with Docker Model Runner:
docker model run hf.co/Kalslice/Large80
Upload 4 files
Browse filesFiles changed (4)
- config.jsonAdded+420
- generation_config.jsonAdded+6
- model.safetensorsAdded+3
- training_args.binAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420{ "_name_or_path": "gpt2-large", "activation_function": "gelu_new", "architectures": [ "GPT2LMHeadModel" ], "attn_pdrop": 0.1, "bos_token_id": 50256, "embd_pdrop": 0.1, "eos_token_id": 50256, "initializer_range": 0.02, "layer_norm_epsilon": 1e-05, "model_type": "gpt2", "n_ctx": 1024, "n_embd": 1280, "n_head": 20, "n_inner": null, "n_layer": 36, "n_positions": 1024, "output_attentions": true, "pruned_heads": { "2": [ 5 ], "5": [ 4 ], "8": [ 1, 18, 19, 14 ], "9": [ 0, 18, 5, 9, 10, 11 ], "10": [ 1, 18, 17, 19, 15 ], "11": [ 0, 1, 18, 19, 7, 12, 13, 14 ], "12": [ 1, 3, 4, 5, 6, 7, 9, 11, 13, 14, 18 ], "13": [ 1, 4, 5, 6, 7, 14, 15 ], "14": [ 19, 3, 15 ], "15": [ 1, 17, 4, 12, 13 ], "16": [ 0, 2, 6, 9, 15 ], "17": [ 0, 4, 5, 6, 11, 12, 13, 14, 16, 17, 19 ], "18": [ 2, 4, 7, 9, 11, 12, 16, 17, 19 ], "19": [ 1, 2, 4, 6, 8, 11, 12, 13, 15, 17, 18 ], "20": [ 0, 1, 2, 4, 6, 7, 8, 10, 11, 14, 15, 16, 17, 18, 19 ], "21": [ 1, 2, 4, 5, 8, 11, 12, 14, 15, 16, 17, 18, 19 ], "22": [ 0, 2, 3, 4, 5, 6, 7, 8, 10, 12, 13, 14, 16, 18, 19 ], "23": [ 0, 1, 2, 3, 5, 7, 8, 12, 13, 14, 15 ], "24": [ 1, 5, 6, 8, 10, 11, 13, 14, 15, 16, 18, 19 ], "25": [ 0, 1, 3, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 18, 19 ], "26": [ 0, 1, 2, 3, 4, 6, 8, 9, 10, 12, 13, 14, 15, 16, 17 ], "27": [ 0, 1, 2, 4, 6, 7, 9, 10, 12, 13, 14, 16, 17, 18 ], "28": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 16, 17, 18, 19 ], "29": [ 0, 1, 2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 ], "30": [ 0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 ], "31": [ 0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 ], "32": [ 0, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19 ], "33": [ 0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 12, 13, 14, 15, 17, 18, 19 ], "34": [ 0, 1, 3, 5, 7, 9, 12, 13, 14, 16, 17, 18, 19 ], "35": [ 1 ] }, "reorder_and_upcast_attn": false, "resid_pdrop": 0.1, "scale_attn_by_inverse_layer_idx": false, "scale_attn_weights": true, "summary_activation": null, "summary_first_dropout": 0.1, "summary_proj_to_labels": true, "summary_type": "cls_index", "summary_use_proj": true, "task_specific_params": { "text-generation": { "do_sample": true, "max_length": 50 } }, "torch_dtype": "float32", "transformers_version": "4.36.2", "use_cache": true, "vocab_size": 50257}123456{ "_from_model_config": true, "bos_token_id": 50256, "eos_token_id": 50256, "transformers_version": "4.36.2"}123version https://git-lfs.github.com/spec/v1oid sha256:63811eb209e5cddf23510dd24c874a28b6d889f8a3387f5e728a7497335957cesize 2679112656123version https://git-lfs.github.com/spec/v1oid sha256:be2532a4612ca886a9a2e75cc42da8908dc8975b917c63ef6548b223c17acfafsize 4283config.jsonAdded+420
generation_config.jsonAdded+6
model.safetensorsAdded+3
training_args.binAdded+3