Text Generation
Transformers
Safetensors
English
inferno
small-language-model
gqa
custom_code
arithmark
Eval Results (legacy)
Run this model with HF Jobs
Run AlgoDriveAI/Inferno-Exp-1.7 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/AlgoDriveAI/Inferno-Exp-1.7. 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/AlgoDriveAI/Inferno-Exp-1.7 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/AlgoDriveAI/Inferno-Exp-1.7. 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/AlgoDriveAI/Inferno-Exp-1.7. 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 AlgoDriveAI/Inferno-Exp-1.7 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AlgoDriveAI/Inferno-Exp-1.7 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="AlgoDriveAI/Inferno-Exp-1.7", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("AlgoDriveAI/Inferno-Exp-1.7", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use AlgoDriveAI/Inferno-Exp-1.7 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AlgoDriveAI/Inferno-Exp-1.7" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AlgoDriveAI/Inferno-Exp-1.7", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/AlgoDriveAI/Inferno-Exp-1.7
- SGLang
How to use AlgoDriveAI/Inferno-Exp-1.7 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 "AlgoDriveAI/Inferno-Exp-1.7" \ --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": "AlgoDriveAI/Inferno-Exp-1.7", "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 "AlgoDriveAI/Inferno-Exp-1.7" \ --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": "AlgoDriveAI/Inferno-Exp-1.7", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use AlgoDriveAI/Inferno-Exp-1.7 with Docker Model Runner:
docker model run hf.co/AlgoDriveAI/Inferno-Exp-1.7
Update README.md
Browse files82 unmodified lines838485868788322 unmodified lines41141241341441541692 unmodified lines50951051151251382 unmodified lineswith **4,096-token context** and **85.70% ArithMark 3.0 normalized accuracy**.It continues the Deep400M training line represented by [Inferno-Exp-1.6](https://huggingface.co/AlgoDriveAI/Inferno-Exp-1.6).It is a base text-completion model; it has no chat template or instruction tuning.| Property | Value ||---|---|322 unmodified lines`Sam had 47 marbles. His sister gave him 28 more. Now Sam has`.Set temperature to **0** for greedy decoding, or increase it for more varied stories.## EvaluationAll reported accuracies are percentages. Chance is 25% for ArithMark, HellaSwag and ARC;92 unmodified linesThis math-first base model can produce incorrect arithmetic and unreliable text. Its generallanguage results are modest, and it is not trained to behave as a chat assistant.ArithMark was monitored during training and checkpoint selection, so its score is not anuntouched holdout estimate. The four language tasks were also monitored during training.82 unmodified lines8384858687888990322 unmodified lines41341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149292 unmodified lines58558658758858959059159259382 unmodified lineswith **4,096-token context** and **85.70% ArithMark 3.0 normalized accuracy**.It continues the Deep400M training line represented by [Inferno-Exp-1.6](https://huggingface.co/AlgoDriveAI/Inferno-Exp-1.6).It is a base text-completion model; it has no chat template or instruction tuning.Math is its specialty, but its open-ended writing is often more coherent and inventive than its sizesuggests. See [Beyond arithmetic](#beyond-arithmetic-open-ended-generation).| Property | Value ||---|---|322 unmodified lines`Sam had 47 marbles. His sister gave him 28 more. Now Sam has`.Set temperature to **0** for greedy decoding, or increase it for more varied stories.## Beyond arithmetic: open-ended generationInferno-Exp-1.7 was trained math-first, and none of its benchmarks measure open-ended writing.Even so, it often responds to non-math prompts with structure, analogies and occasional soundreasoning that are unusual at 394M parameters. Patterns seen in hands-on testing:- **It picks a format on its own.** A bare question often turns into a teacher–student dialogue,an answer-key line such as `[A] ...`, or a short lesson with a core concept, an analogy and key takeaways.- **It reaches for analogies.** Asked whether it is AGI, one sample described a language model as"a master chef who has never tasted a dish but has internalized the structure of flavor."- **It can explain simple cause and effect.** When asked plainly, it explains everyday physicswith the mechanism, not just the outcome (see the first example below).- **It keeps a thread going.** The better samples carry one idea, such as the chef-and-cakeanalogy, through several dialogue turns, and the instructor sometimes corrects the studentinstead of just agreeing.### ExamplesThese are unedited samples from the Gradio demo above. They are a selection, notrepresentative averages; outputs vary from run to run.**Plain question, causal reasoning:**```textIf you leave an ice cube on a hot sidewalk for an hour, tell me what you think will happen.[A] The ice melts because heat moves from the warm sidewalk into the ice.```The direction of heat flow is correct. The answer stops at melting, though; after a full hourthe water would likely have evaporated as well.**Open-ended question, dialogue format (excerpt):**```textare you AGI?**Student:** I think I was thinking about a problem, maybe?**Instructor:** Not quite. The assistant was just following a pattern it has learned, not actually"knowing" the truth. It's like a master chef who has never tasted a dish but has internalized thestructure of flavor. If you ask it to "make a cake," what do you think it should do?**Student:** I guess it should just do what it's been programmed to do, not try something new.**Instructor:** Exactly. It's a sophisticated pattern matcher, not a thinking entity. The assistantdoesn't know what cake is—it just knows that certain patterns in recipes are likely to appear whenpeople ask it to "make a cake."```### What to expectThe model reproduces the *shape* of good reasoning (analogy, follow-up question, summary) morereliably than the substance. Expect:- **Topic drift.** Conversations wander, for example from "the meaning of life" to "what makes you happy."- **Fluent, confident errors.** One sample explaining Earth's rotation said the rotation axis is notfixed and contradicted itself about the direction of spin.- **An agreeable teacher.** In dialogue format the teacher figure often approves wrong answers("Exactly!", "Well said").- **Synthetic-data artifacts.** Outputs can include lesson-plan headings, a closing note grading thelesson's own teaching approach, or stock "As an AI language model…" disclaimers inherited fromtraining data. The model was not trained to refuse requests.### Prompting tips- For **factual answers**, use a plain `Q: ... A:` layout. This tends to produce short,textbook-style answers.- For **exploratory, creative output**, start a dialogue yourself, e.g.`**Teacher:** If you replaced every part of a ship one by one, is it still the same ship?\n**Student:**`- Temperature around **0.6** reduces non sequiturs; **1.0** and above gives more inventive but lessreliable text. Fix the seed to compare prompts fairly.- Raise **Max new tokens** if a lesson is cut off mid-sentence; dialogue-style answers often runpast 256 tokens.## EvaluationAll reported accuracies are percentages. Chance is 25% for ArithMark, HellaSwag and ARC;92 unmodified linesThis math-first base model can produce incorrect arithmetic and unreliable text. Its generallanguage results are modest, and it is not trained to behave as a chat assistant.Its open-ended writing can be coherent and inventive, but it is not factually reliable: it can explainscience incorrectly with full confidence and may reproduce formatting artifacts from synthetic training data.No benchmark in this card measures creative or open-ended quality; the observations above come frominformal testing.ArithMark was monitored during training and checkpoint selection, so its score is not anuntouched holdout estimate. The four language tasks were also monitored during training.
README.md+80