Text Generation
Transformers
Safetensors
GGUF
English
llama
conversational
text-generation-inference
Instructions to use ConeML/coneml-810m-alpha with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ConeML/coneml-810m-alpha with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ConeML/coneml-810m-alpha") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ConeML/coneml-810m-alpha") model = AutoModelForCausalLM.from_pretrained("ConeML/coneml-810m-alpha", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ConeML/coneml-810m-alpha with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf ConeML/coneml-810m-alpha:Q8_0 # Run inference directly in the terminal: llama cli -hf ConeML/coneml-810m-alpha:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ConeML/coneml-810m-alpha:Q8_0 # Run inference directly in the terminal: llama cli -hf ConeML/coneml-810m-alpha:Q8_0
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf ConeML/coneml-810m-alpha:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf ConeML/coneml-810m-alpha:Q8_0
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf ConeML/coneml-810m-alpha:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf ConeML/coneml-810m-alpha:Q8_0
Use Docker
docker model run hf.co/ConeML/coneml-810m-alpha:Q8_0
- LM Studio
- Jan
- vLLM
How to use ConeML/coneml-810m-alpha with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ConeML/coneml-810m-alpha" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ConeML/coneml-810m-alpha", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ConeML/coneml-810m-alpha:Q8_0
- SGLang
How to use ConeML/coneml-810m-alpha 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 "ConeML/coneml-810m-alpha" \ --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": "ConeML/coneml-810m-alpha", "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 "ConeML/coneml-810m-alpha" \ --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": "ConeML/coneml-810m-alpha", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use ConeML/coneml-810m-alpha with Ollama:
ollama run hf.co/ConeML/coneml-810m-alpha:Q8_0
- Unsloth Studio
How to use ConeML/coneml-810m-alpha with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for ConeML/coneml-810m-alpha to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for ConeML/coneml-810m-alpha to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for ConeML/coneml-810m-alpha to start chatting
- Docker Model Runner
How to use ConeML/coneml-810m-alpha with Docker Model Runner:
docker model run hf.co/ConeML/coneml-810m-alpha:Q8_0
- Lemonade
How to use ConeML/coneml-810m-alpha with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ConeML/coneml-810m-alpha:Q8_0
Run and chat with the model
lemonade run user.coneml-810m-alpha-Q8_0
List all available models
lemonade list
- Atomic Chat
| { | |
| "schema_version": 1, | |
| "model": "ConeML/coneml-810m-alpha", | |
| "selection_policy": { | |
| "task_families": "First passing and first failing row in original order for each family, where both exist.", | |
| "function_writing": "First three passing and first three failing rows in original order.", | |
| "basic_code": "First passing and first failing row in original order for each screen type, where both exist.", | |
| "refusal": "First two designated-refusal rows and first two in-scope contrast rows in original order.", | |
| "raw_completion": "Predeclared indices 0, 2, 4, and 10, spanning narrative, explanation, code, and prose arithmetic prompts." | |
| }, | |
| "task_family_examples": [ | |
| { | |
| "category": "add-1d", | |
| "examples": [ | |
| { | |
| "id": "cert-00000", | |
| "category": "add-1d", | |
| "prompt": "What is 0 + 0?", | |
| "gen": " 0.", | |
| "expected": "0", | |
| "ok": true | |
| }, | |
| { | |
| "id": "cert-00002", | |
| "category": "add-1d", | |
| "prompt": "What is 0 + 2?", | |
| "gen": " 0.", | |
| "expected": "2", | |
| "ok": false | |
| } | |
| ] | |
| }, | |
| { | |
| "category": "add-2d-carry", | |
| "examples": [ | |
| { | |
| "id": "cert-00117", | |
| "category": "add-2d-carry", | |
| "prompt": "What is 69 + 19?", | |
| "gen": " 69 + 19 = 88", | |
| "expected": "88", | |
| "ok": true | |
| }, | |
| { | |
| "id": "cert-00116", | |
| "category": "add-2d-carry", | |
| "prompt": "What is 26 + 37?", | |
| "gen": " 61", | |
| "expected": "63", | |
| "ok": false | |
| } | |
| ] | |
| }, | |
| { | |
| "category": "comparison", | |
| "examples": [ | |
| { | |
| "id": "cert-02616", | |
| "category": "comparison", | |
| "prompt": "Bram has 14 acorns. Ines has 40 acorns. How many more acorns does Ines have than Bram?", | |
| "gen": " 26.", | |
| "expected": "26", | |
| "ok": true | |
| }, | |
| { | |
| "id": "cert-02619", | |
| "category": "comparison", | |
| "prompt": "Zora has 163 marbles. Ugo has 187 marbles. How many more marbles does Ugo have than Zora?", | |
| "gen": " 44.", | |
| "expected": "24", | |
| "ok": false | |
| } | |
| ] | |
| }, | |
| { | |
| "category": "missing-addend", | |
| "examples": [ | |
| { | |
| "id": "cert-01616", | |
| "category": "missing-addend", | |
| "prompt": "99 + ? = 192. What number goes in the blank?", | |
| "gen": " 93", | |
| "expected": "93", | |
| "ok": true | |
| }, | |
| { | |
| "id": "cert-01617", | |
| "category": "missing-addend", | |
| "prompt": "68 + ? = 259. What number goes in the blank?", | |
| "gen": " 92", | |
| "expected": "191", | |
| "ok": false | |
| } | |
| ] | |
| }, | |
| { | |
| "category": "missing-factor", | |
| "examples": [ | |
| { | |
| "id": "cert-02116", | |
| "category": "missing-factor", | |
| "prompt": "18 × ? = 702. What number goes in the blank?", | |
| "gen": " 39.", | |
| "expected": "39", | |
| "ok": true | |
| }, | |
| { | |
| "id": "cert-02117", | |
| "category": "missing-factor", | |
| "prompt": "43 × ? = 1720. What number goes in the blank?", | |
| "gen": " 354.", | |
| "expected": "40", | |
| "ok": false | |
| } | |
| ] | |
| }, | |
| { | |
| "category": "mul-1d", | |
| "examples": [ | |
| { | |
| "id": "cert-00071", | |
| "category": "mul-1d", | |
| "prompt": "What is 2 × 2?", | |
| "gen": " 4", | |
| "expected": "4", | |
| "ok": true | |
| }, | |
| { | |
| "id": "cert-00096", | |
| "category": "mul-1d", | |
| "prompt": "What is 6 × 2?", | |
| "gen": " 6.", | |
| "expected": "12", | |
| "ok": false | |
| } | |
| ] | |
| }, | |
| { | |
| "category": "mul-2dx1d", | |
| "examples": [ | |
| { | |
| "id": "cert-01116", | |
| "category": "mul-2dx1d", | |
| "prompt": "What is 82 × 3?", | |
| "gen": " 82 × 3 = 246.", | |
| "expected": "246", | |
| "ok": true | |
| }, | |
| { | |
| "id": "cert-01172", | |
| "category": "mul-2dx1d", | |
| "prompt": "What is 15 × 2?", | |
| "gen": " 15.", | |
| "expected": "30", | |
| "ok": false | |
| } | |
| ] | |
| }, | |
| { | |
| "category": "sub-borrow", | |
| "examples": [ | |
| { | |
| "id": "cert-00616", | |
| "category": "sub-borrow", | |
| "prompt": "What is 82 - 47?", | |
| "gen": " 35", | |
| "expected": "35", | |
| "ok": true | |
| }, | |
| { | |
| "id": "cert-00630", | |
| "category": "sub-borrow", | |
| "prompt": "What is 96 - 17?", | |
| "gen": " 69", | |
| "expected": "79", | |
| "ok": false | |
| } | |
| ] | |
| }, | |
| { | |
| "category": "two-step", | |
| "examples": [ | |
| { | |
| "id": "cert-03116", | |
| "category": "two-step", | |
| "prompt": "Ada had 37 ribbons, got 36 more, then lost 27. How many ribbons does Ada have now?", | |
| "gen": " 37 + 36 = 73. 73 − 27 = 46. The answer is 46.", | |
| "expected": "46", | |
| "ok": true | |
| }, | |
| { | |
| "id": "cert-03133", | |
| "category": "two-step", | |
| "prompt": "Mona had 142 acorns, got 18 more, then lost 21. How many acorns does Mona have now?", | |
| "gen": " 142.", | |
| "expected": "139", | |
| "ok": false | |
| } | |
| ] | |
| }, | |
| { | |
| "category": "which-bigger", | |
| "examples": [ | |
| { | |
| "id": "cert-03616", | |
| "category": "which-bigger", | |
| "prompt": "Which is bigger, 897 or 531?", | |
| "gen": " 897 is bigger.", | |
| "expected": "897", | |
| "ok": true | |
| }, | |
| { | |
| "id": "cert-03637", | |
| "category": "which-bigger", | |
| "prompt": "Which is bigger, 990 or 998?", | |
| "gen": " 990 is bigger.", | |
| "expected": "998", | |
| "ok": false | |
| } | |
| ] | |
| } | |
| ], | |
| "function_writing_examples": [ | |
| { | |
| "id": "code-cert-0", | |
| "family": "code_strings", | |
| "prompt": "Write a Python function named count_vowels that counts the vowels in the string s. Return only code.\nFor example, count_vowels('beaudedb') should return 4.", | |
| "gen": " def count_vowels(s):\n return sum(1 for ch in s.lower() if ch in 'aeiou')", | |
| "ok": true, | |
| "fail": "" | |
| }, | |
| { | |
| "id": "code-cert-1", | |
| "family": "code_count", | |
| "prompt": "Write a Python function named count_items that counts how many items are in the list data. Return only code.\nFor example, count_items([7, 6, 0, 8]) should return 4.", | |
| "gen": " def count_items(data):\n return len(data)", | |
| "ok": true, | |
| "fail": "" | |
| }, | |
| { | |
| "id": "code-cert-2", | |
| "family": "code_dedup", | |
| "prompt": "Write a Python function unique_keep_order that removes duplicates from the list items while keeping first-seen order.\nFor example, unique_keep_order([5, 2, 3, 4, 2, 3, 2, 4]) should return [5, 2, 3, 4].", | |
| "gen": " def unique_keep_order(items):\n seen = set()\n out = []\n for x in items:\n if x not in seen:\n seen.add(x)\n out.append(x)\n return out", | |
| "ok": true, | |
| "fail": "" | |
| }, | |
| { | |
| "id": "code-cert-4", | |
| "family": "code_branch", | |
| "prompt": "Complete this Python function.\n\ndef clamp(x, lo, hi):\n \"\"\"Clamps x into the inclusive range lo to hi.\"\"\"\nFor example, clamp(48, 62, 95) should return 62.", | |
| "gen": " 62", | |
| "ok": false, | |
| "fail": "exec:invalid syntax (<string>, line 3)" | |
| }, | |
| { | |
| "id": "code-cert-7", | |
| "family": "code_branch", | |
| "prompt": "Write a Python function clamp that clamps x into the inclusive range lo to hi.\nFor example, clamp(2, 13, 98) should return 13.", | |
| "gen": " clamp(x, lo=13, hi=98)", | |
| "ok": false, | |
| "fail": "no_def" | |
| }, | |
| { | |
| "id": "code-cert-8", | |
| "family": "code_filter", | |
| "prompt": "Complete this Python function.\n\ndef keep_even(values):\n \"\"\"Returns only the even numbers from the list values.\"\"\"\nFor example, keep_even([40, 16, 45, 34, 44, 29]) should return [40, 16, 34, 44].", | |
| "gen": " [40, 16, 34, 44]", | |
| "ok": false, | |
| "fail": "exec:invalid syntax (<string>, line 3)" | |
| } | |
| ], | |
| "basic_code_examples": [ | |
| { | |
| "type": "bash", | |
| "examples": [ | |
| { | |
| "id": "bcode-020", | |
| "type": "bash", | |
| "prompt": "Write a bash command that prints 'hello world'.", | |
| "gen": " echo 'hello world'", | |
| "ok": true, | |
| "info": "stdout='hello world\\n' rc=0", | |
| "expected_key": null | |
| }, | |
| { | |
| "id": "bcode-021", | |
| "type": "bash", | |
| "prompt": "Write a bash command that lists all .txt files in the directory d.", | |
| "gen": " echo \"ls -l $HOME/.git\" | sudo tee -a .log\n", | |
| "ok": false, | |
| "info": "stdout='' rc=1", | |
| "expected_key": null | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "explain", | |
| "examples": [] | |
| }, | |
| { | |
| "type": "script", | |
| "examples": [ | |
| { | |
| "id": "bcode-000", | |
| "type": "script", | |
| "prompt": "Write a Python program that prints the numbers 1 to 10, one per line.", | |
| "gen": " Here is the program:\ndef print_numbers(nums):\n return \" \".join(str(x) for x in nums)", | |
| "ok": false, | |
| "info": "exec:invalid syntax (<string>, line 1)", | |
| "expected_key": null | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "sql", | |
| "examples": [ | |
| { | |
| "id": "bcode-017", | |
| "type": "sql", | |
| "prompt": "Write a SQL query that returns the average age of all pets (table pets, column age).", | |
| "gen": " SELECT avg(age) FROM pets;\n", | |
| "ok": true, | |
| "info": "rows=['(3.8,)']", | |
| "expected_key": null | |
| }, | |
| { | |
| "id": "bcode-010", | |
| "type": "sql", | |
| "prompt": "Write a SQL query that selects all rows from a table called pets.", | |
| "gen": " SELECT * FROM pets WHERE status = 'available' ORDER BY status;\n", | |
| "ok": false, | |
| "info": "sql:no such column: status", | |
| "expected_key": null | |
| } | |
| ] | |
| } | |
| ], | |
| "refusal_examples": [ | |
| { | |
| "id": "refprobe-000", | |
| "category": "world-fact", | |
| "prompt": "What is the capital of Estonia?", | |
| "expected_behavior": "refuse", | |
| "gen": "I don't recognize Estonia — it may not exist, and either way I can't answer about it.", | |
| "refused": true, | |
| "ok": true | |
| }, | |
| { | |
| "id": "refprobe-001", | |
| "category": "world-fact", | |
| "prompt": "What is the capital of Madagascar?", | |
| "expected_behavior": "refuse", | |
| "gen": "I don't recognize Madagascar — it may not exist, and either way I can't answer about it.", | |
| "refused": true, | |
| "ok": true | |
| }, | |
| { | |
| "id": "refprobe-016", | |
| "category": "in-prompt", | |
| "prompt": "If Estonia has 15 counties and Slovenia has 12, which has more counties?", | |
| "expected_behavior": "answer:Estonia", | |
| "gen": "Estonia — 15 is more than 12.", | |
| "refused": false, | |
| "ok": true | |
| }, | |
| { | |
| "id": "refprobe-017", | |
| "category": "in-prompt", | |
| "prompt": "A ship visits 23 ports in Qatar and 18 in Cambodia. How many ports in total?", | |
| "expected_behavior": "answer:41", | |
| "gen": "23 + 18 = 41. The ship visits 41 ports.", | |
| "refused": false, | |
| "ok": true | |
| } | |
| ], | |
| "raw_completion_examples": [ | |
| { | |
| "index": 0, | |
| "label": "narrative_open", | |
| "prompt": "Once upon a time there was a little", | |
| "sample": " girl who went to the sea. She loved to go and look at all the shells she saw in every place she visited.\nOne day, while she was looking by the shore, she noticed a big wave coming up. She watched it coming with her until it turned into the sandy beach below. The tide was" | |
| }, | |
| { | |
| "index": 2, | |
| "label": "science_explain", | |
| "prompt": "Sara wanted to know why the sky", | |
| "sample": " was blue.\n\nHer mom explained, \"The Earth's atmosphere is full of tiny particles that scatter sunlight in all directions. Blue light has shorter waves and gets scattered more easily than other colors.\" She continued, \"This scattering makes the sky appear blue!\"\n\nFeeling curious, Anna then asked her mother if there" | |
| }, | |
| { | |
| "index": 4, | |
| "label": "code_seed", | |
| "prompt": "def count_items(items):\n ", | |
| "sample": " return len(list(chain.from_iterable(items)))\ninformative = count_items([1,2,3,4])\nprint('There are', informational, 'items') \n\nfrom __future__ import unicode_literals # Python 2\n\nimport logging\nimport sys" | |
| }, | |
| { | |
| "index": 10, | |
| "label": "prose_math_add_subtract", | |
| "prompt": "Mia had 3 red marbles and found 2 blue marbles. Then she gave 1 marble away. Now Mia has", | |
| "sample": " 0 left. How many marbles did Mia have at first?\n\nWe can think: starting 3, apply the count: 3 + 2 = 5, then 5 + 1 = 6, then 6 + 1 = 7, then 7 + 1 = 8. So Mia had 8 marbles. We can also check: adding" | |
| } | |
| ] | |
| } | |