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)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("inclusionAI/Ling-1T", trust_remote_code=True, dtype="auto") - Inference
- 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
Terrible trivia knowledge for the size
Knows very little despite being 1T, very disappointing.
It has worse world knowledge than Llama 3 70B. I was expecting it to be at least comparable to Deepseek in this regard. It seems some labs believe that real world knowledge isn't that important. Talking with these models feels like talking to someone who has spent their whole life under a rock reading science books. That is what happens when you train with 90% synthetic data.
Do you have any examples of prompts that produced bad results?
@jebbam Very simple ones like "Which song is rapper viper best known for?" and other similar questions, llama knows it, ling does not. Try asking it about anything slightly away from mainstream, you'll notice how limited it is.
Do you have any examples of prompts that produced bad results?
Just ask it anything specify about any TV show, anime or game, it will hallucinate the answer most of the time.
For example, this is a random trivia from Pokémon Crystal, and it's not even an obscure thing, it's almost impossible to skip if you play the game: https://www.serebii.net/crystal/dratini.shtml
Prompt: How do you obtain a Dratini with ExtremeSpeed in Pokemon Crystal?
Ling-1T (Hallucinate the entire answer):
GLM, GLM AIR, Kimi-k2, Deepseek, Ernie-300B answered this correctly. Ling/Ring 1T and Qwen (any size) are the only models that are not able to answer this specify questions of all the models I tested right now, you can try yourself.
Yes, I see that Ling (and Ring) didn't generate a correct answer, but Llama 3.3 instruct gave "You'll Cowards Don't Even Smoke Crack", which AFAICT is the correct answer. Ling does appear to do well on scientific questions. So if you want an LLM that knows pop culture, Ling doesn't appear to be a good model. If you want technical answers, it is a good option.
Shinku's "90% synthetic data" claim seems dubious though.
I don't know offhand if Ling/Ring outperform Qwen or GLM in STEM, both of which are very good models IMHO. To be clear, I'm not affiliated with any of these companies.
What is your basis for the claim that it is trained 90% synthetic data?
I exaggerated that, but it's probably not that far from the truth: "Pre-training used over 20T high-quality tokens, with > 40% reasoning-dense data in later stages."
That is probably by design, they're sacrificing the model's recall ability in exchange for making it "smarter".
Do you have any examples of prompts that produced bad results?
Just ask it anything specify about any TV show, anime or game, it will hallucinate the answer most of the time.
For example, this is a random trivia from Pokémon Crystal, and it's not even an obscure thing, it's almost impossible to skip if you play the game: https://www.serebii.net/crystal/dratini.shtmlPrompt: How do you obtain a Dratini with ExtremeSpeed in Pokemon Crystal?
Ling-1T (Hallucinate the entire answer):
GLM, GLM AIR, Kimi-k2, Deepseek, Ernie-300B answered this correctly. Ling/Ring 1T and Qwen (any size) are the only models that are not able to answer this specify questions of all the models I tested right now, you can try yourself.
Sorry I couldn't get this case repro-ed. From the interface it looks like you were using ZenMux for this. I've noted the case and we'll do some further evaluation.
