Run this model with HF Jobs
Run inclusionAI/Ling-1T 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/inclusionAI/Ling-1T. 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/inclusionAI/Ling-1T 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/inclusionAI/Ling-1T. 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/inclusionAI/Ling-1T. 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 inclusionAI/Ling-1T with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use inclusionAI/Ling-1T with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="inclusionAI/Ling-1T", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("inclusionAI/Ling-1T", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use inclusionAI/Ling-1T with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "inclusionAI/Ling-1T" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "inclusionAI/Ling-1T", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/inclusionAI/Ling-1T
- SGLang
How to use inclusionAI/Ling-1T 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 "inclusionAI/Ling-1T" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "inclusionAI/Ling-1T", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "inclusionAI/Ling-1T" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "inclusionAI/Ling-1T", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use inclusionAI/Ling-1T with Docker Model Runner:
docker model run hf.co/inclusionAI/Ling-1T
Add files using upload-large-folder tool
Browse filesFiles changed (13)
- model-00001-of-00155.safetensorsAdded+3
- model-00006-of-00155.safetensorsAdded+3
- model-00010-of-00155.safetensorsAdded+3
- model-00020-of-00155.safetensorsAdded+3
- model-00038-of-00155.safetensorsAdded+3
- model-00042-of-00155.safetensorsAdded+3
- model-00049-of-00155.safetensorsAdded+3
- model-00056-of-00155.safetensorsAdded+3
- model-00057-of-00155.safetensorsAdded+3
- model-00074-of-00155.safetensorsAdded+3
- model-00090-of-00155.safetensorsAdded+3
- model-00138-of-00155.safetensorsAdded+3
- model-00148-of-00155.safetensorsAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:02b5cbbf76f7b21e54a936db254aef54aa4196d8a729c93ce6e26e7467c9448csize 2575302800123version https://git-lfs.github.com/spec/v1oid sha256:d8ec47016f9a3d68b949eb59194c1721855edaa58e5c06f6f1de110a1b9f5779size 8657075832123version https://git-lfs.github.com/spec/v1oid sha256:0f0aecdfbf532e98b935915b0841d01be6960a6e1716ff58833acd5704f4ce6asize 8657075832123version https://git-lfs.github.com/spec/v1oid sha256:ad841c7b90c64ec1050762ae562627b7ec9f9ab132a66d8e88e6338439b24d37size 8657076088123version https://git-lfs.github.com/spec/v1oid sha256:c749514f6a116cd9e92fde5806fd1d8f9ddf9cc8109d5ee4e661048cbf30e7acsize 8589966968123version https://git-lfs.github.com/spec/v1oid sha256:66f7ac37d2d6bea6df36ab4596ee402242d3037abea2c15fe1377e92281b89f6size 8589966968123version https://git-lfs.github.com/spec/v1oid sha256:a91deb1a023735e97ee2a750ee46e3d9dbc6cca4a002f2e64ceb0121f211ccd7size 17179933872123version https://git-lfs.github.com/spec/v1oid sha256:9fbf53647590c603f564cf006cd2c62d971917b8dbfd312161f7bdae4ce5d064size 8657076088123version https://git-lfs.github.com/spec/v1oid sha256:b147ed89ed762e373658daf34141268b249686b4a60d73655baa5802ff460bc4size 17179933872123version https://git-lfs.github.com/spec/v1oid sha256:63e286747847062c69ae414527542e5a20db4bb3fce09f211cf819b1a1d1901esize 10490164272123version https://git-lfs.github.com/spec/v1oid sha256:a192556d29b524816bc0546213fda65666df4eb2a0e5e4bd0b0226ff06fbf064size 8657076088123version https://git-lfs.github.com/spec/v1oid sha256:558715dd562ee569956a7b5c4987cb2c5029d017ecb9720cbff4e78074b24447size 8589966968123version https://git-lfs.github.com/spec/v1oid sha256:59a64c127f725abb6acb450e688136cca6aae9591fcdd43efe58b27266b85535size 8589966968model-00001-of-00155.safetensorsAdded+3
model-00006-of-00155.safetensorsAdded+3
model-00010-of-00155.safetensorsAdded+3
model-00020-of-00155.safetensorsAdded+3
model-00038-of-00155.safetensorsAdded+3
model-00042-of-00155.safetensorsAdded+3
model-00049-of-00155.safetensorsAdded+3
model-00056-of-00155.safetensorsAdded+3
model-00057-of-00155.safetensorsAdded+3
model-00074-of-00155.safetensorsAdded+3
model-00090-of-00155.safetensorsAdded+3
model-00138-of-00155.safetensorsAdded+3
model-00148-of-00155.safetensorsAdded+3