Run this model with HF Jobs
Run keita-origin/Da-1.0a 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/keita-origin/Da-1.0a. 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/keita-origin/Da-1.0a 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/keita-origin/Da-1.0a. 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/keita-origin/Da-1.0a. 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 keita-origin/Da-1.0a with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use keita-origin/Da-1.0a with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="keita-origin/Da-1.0a")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("keita-origin/Da-1.0a") model = AutoModelForCausalLM.from_pretrained("keita-origin/Da-1.0a", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use keita-origin/Da-1.0a with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "keita-origin/Da-1.0a" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "keita-origin/Da-1.0a", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/keita-origin/Da-1.0a
- SGLang
How to use keita-origin/Da-1.0a 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 "keita-origin/Da-1.0a" \ --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": "keita-origin/Da-1.0a", "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 "keita-origin/Da-1.0a" \ --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": "keita-origin/Da-1.0a", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use keita-origin/Da-1.0a with Docker Model Runner:
docker model run hf.co/keita-origin/Da-1.0a
Download tokenizer.json from keita-origin/Da-1.0a: direct link, hf CLI and curl.
- Browser
- Download file 2.46 kB
-
https://huggingface.co/keita-origin/Da-1.0a/resolve/main/tokenizer.json
- Command line
-
hf download hf://keita-origin/Da-1.0a/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/keita-origin/Da-1.0a/resolve/main/tokenizer.json
2.46 kB
| { | |
| "version": "1.0", | |
| "truncation": { | |
| "direction": "Right", | |
| "max_length": 512, | |
| "strategy": "LongestFirst", | |
| "stride": 0 | |
| }, | |
| "padding": { | |
| "strategy": { | |
| "Fixed": 512 | |
| }, | |
| "direction": "Right", | |
| "pad_to_multiple_of": null, | |
| "pad_id": 0, | |
| "pad_type_id": 0, | |
| "pad_token": "[PAD]" | |
| }, | |
| "added_tokens": [ | |
| { | |
| "id": 0, | |
| "content": "[PAD]", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| { | |
| "id": 1, | |
| "content": "[UNK]", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| { | |
| "id": 2, | |
| "content": "[CLS]", | |
| "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": "[MASK]", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| } | |
| ], | |
| "normalizer": null, | |
| "pre_tokenizer": { | |
| "type": "Split", | |
| "pattern": { | |
| "String": "" | |
| }, | |
| "behavior": "Isolated", | |
| "invert": false | |
| }, | |
| "post_processor": null, | |
| "decoder": null, | |
| "model": { | |
| "type": "WordLevel", | |
| "vocab": { | |
| "[PAD]": 0, | |
| "[UNK]": 1, | |
| "[CLS]": 2, | |
| "[SEP]": 3, | |
| "[MASK]": 4, | |
| "\n": 5, | |
| " ": 6, | |
| "!": 7, | |
| "?": 8, | |
| "a": 9, | |
| "b": 10, | |
| "c": 11, | |
| "d": 12, | |
| "e": 13, | |
| "f": 14, | |
| "g": 15, | |
| "h": 16, | |
| "i": 17, | |
| "j": 18, | |
| "k": 19, | |
| "l": 20, | |
| "m": 21, | |
| "n": 22, | |
| "o": 23, | |
| "p": 24, | |
| "q": 25, | |
| "r": 26, | |
| "s": 27, | |
| "t": 28, | |
| "u": 29, | |
| "v": 30, | |
| "w": 31, | |
| "x": 32, | |
| "y": 33, | |
| "z": 34, | |
| "A": 35, | |
| "B": 36, | |
| "C": 37, | |
| "D": 38, | |
| "E": 39, | |
| "F": 40, | |
| "G": 41, | |
| "H": 42, | |
| "I": 43, | |
| "J": 44, | |
| "K": 45, | |
| "L": 46, | |
| "M": 47, | |
| "N": 48, | |
| "O": 49, | |
| "P": 50, | |
| "Q": 51, | |
| "R": 52, | |
| "S": 53, | |
| "T": 54, | |
| "U": 55, | |
| "V": 56, | |
| "W": 57, | |
| "X": 58, | |
| "Y": 59, | |
| "Z": 60 | |
| }, | |
| "unk_token": "[UNK]" | |
| } | |
| } |