Text Generation
Transformers
Safetensors
GGUF
English
llama
small-language-model
math
arithmetic
pico
convergent
conversational
text-generation-inference
Instructions to use Convergent-ch/Pico-1.3-Math with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Convergent-ch/Pico-1.3-Math with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Convergent-ch/Pico-1.3-Math") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Convergent-ch/Pico-1.3-Math") model = AutoModelForCausalLM.from_pretrained("Convergent-ch/Pico-1.3-Math", 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=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Convergent-ch/Pico-1.3-Math 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 Convergent-ch/Pico-1.3-Math # Run inference directly in the terminal: llama cli -hf Convergent-ch/Pico-1.3-Math
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Convergent-ch/Pico-1.3-Math # Run inference directly in the terminal: llama cli -hf Convergent-ch/Pico-1.3-Math
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 Convergent-ch/Pico-1.3-Math # Run inference directly in the terminal: ./llama-cli -hf Convergent-ch/Pico-1.3-Math
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 Convergent-ch/Pico-1.3-Math # Run inference directly in the terminal: ./build/bin/llama-cli -hf Convergent-ch/Pico-1.3-Math
Use Docker
docker model run hf.co/Convergent-ch/Pico-1.3-Math
- Llama new
- LM Studio
- Jan
- vLLM
How to use Convergent-ch/Pico-1.3-Math with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Convergent-ch/Pico-1.3-Math" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Convergent-ch/Pico-1.3-Math", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Convergent-ch/Pico-1.3-Math
- SGLang
How to use Convergent-ch/Pico-1.3-Math 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 "Convergent-ch/Pico-1.3-Math" \ --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": "Convergent-ch/Pico-1.3-Math", "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 "Convergent-ch/Pico-1.3-Math" \ --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": "Convergent-ch/Pico-1.3-Math", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use Convergent-ch/Pico-1.3-Math with Ollama:
ollama run hf.co/Convergent-ch/Pico-1.3-Math
- Unsloth Desktop
- Docker Model Runner
How to use Convergent-ch/Pico-1.3-Math with Docker Model Runner:
docker model run hf.co/Convergent-ch/Pico-1.3-Math
- Lemonade
How to use Convergent-ch/Pico-1.3-Math with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Convergent-ch/Pico-1.3-Math
Run and chat with the model
lemonade run user.Pico-1.3-Math-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Download tokenizer.json from Convergent-ch/Pico-1.3-Math: direct link, hf CLI and curl.
- Browser
- Download file 8.69 kB
-
https://huggingface.co/Convergent-ch/Pico-1.3-Math/resolve/main/tokenizer.json
- Command line
-
hf download hf://Convergent-ch/Pico-1.3-Math/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/Convergent-ch/Pico-1.3-Math/resolve/main/tokenizer.json
8.69 kB
| {"version": "1.0", "truncation": null, "padding": null, "added_tokens": [{"id": 0, "content": "<|pad|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true}, {"id": 1, "content": "<|bos|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true}, {"id": 2, "content": "<|eos|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true}, {"id": 3, "content": "<|unk|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true}, {"id": 4, "content": "<|system|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true}, {"id": 5, "content": "<|user|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true}, {"id": 6, "content": "<|assistant|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true}, {"id": 7, "content": "<|end|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": false, "special": true}], "normalizer": null, "pre_tokenizer": {"type": "ByteLevel", "add_prefix_space": false, "trim_offsets": true, "use_regex": true}, "post_processor": {"type": "ByteLevel", "add_prefix_space": true, "trim_offsets": false, "use_regex": true}, "decoder": {"type": "ByteLevel", "add_prefix_space": true, "trim_offsets": true, "use_regex": true}, "model": {"type": "BPE", "dropout": null, "unk_token": null, "continuing_subword_prefix": null, "end_of_word_suffix": null, "fuse_unk": false, "byte_fallback": false, "ignore_merges": false, "vocab": {"<|pad|>": 0, "<|bos|>": 1, "<|eos|>": 2, "<|unk|>": 3, "<|system|>": 4, "<|user|>": 5, "<|assistant|>": 6, "<|end|>": 7, "!": 8, "\"": 9, "#": 10, "$": 11, "%": 12, "&": 13, "'": 14, "(": 15, ")": 16, "*": 17, "+": 18, ",": 19, "-": 20, ".": 21, "/": 22, "0": 23, "1": 24, "2": 25, "3": 26, "4": 27, "5": 28, "6": 29, "7": 30, "8": 31, "9": 32, ":": 33, ";": 34, "<": 35, "=": 36, ">": 37, "?": 38, "@": 39, "A": 40, "B": 41, "C": 42, "D": 43, "E": 44, "F": 45, "G": 46, "H": 47, "I": 48, "J": 49, "K": 50, "L": 51, "M": 52, "N": 53, "O": 54, "P": 55, "Q": 56, "R": 57, "S": 58, "T": 59, "U": 60, "V": 61, "W": 62, "X": 63, "Y": 64, "Z": 65, "[": 66, "\\": 67, "]": 68, "^": 69, "_": 70, "`": 71, "a": 72, "b": 73, "c": 74, "d": 75, "e": 76, "f": 77, "g": 78, "h": 79, "i": 80, "j": 81, "k": 82, "l": 83, "m": 84, "n": 85, "o": 86, "p": 87, "q": 88, "r": 89, "s": 90, "t": 91, "u": 92, "v": 93, "w": 94, "x": 95, "y": 96, "z": 97, "{": 98, "|": 99, "}": 100, "~": 101, "¡": 102, "¢": 103, "£": 104, "¤": 105, "¥": 106, "¦": 107, "§": 108, "¨": 109, "©": 110, "ª": 111, "«": 112, "¬": 113, "®": 114, "¯": 115, "°": 116, "±": 117, "²": 118, "³": 119, "´": 120, "µ": 121, "¶": 122, "·": 123, "¸": 124, "¹": 125, "º": 126, "»": 127, "¼": 128, "½": 129, "¾": 130, "¿": 131, "À": 132, "Á": 133, "Â": 134, "Ã": 135, "Ä": 136, "Å": 137, "Æ": 138, "Ç": 139, "È": 140, "É": 141, "Ê": 142, "Ë": 143, "Ì": 144, "Í": 145, "Î": 146, "Ï": 147, "Ð": 148, "Ñ": 149, "Ò": 150, "Ó": 151, "Ô": 152, "Õ": 153, "Ö": 154, "×": 155, "Ø": 156, "Ù": 157, "Ú": 158, "Û": 159, "Ü": 160, "Ý": 161, "Þ": 162, "ß": 163, "à": 164, "á": 165, "â": 166, "ã": 167, "ä": 168, "å": 169, "æ": 170, "ç": 171, "è": 172, "é": 173, "ê": 174, "ë": 175, "ì": 176, "í": 177, "î": 178, "ï": 179, "ð": 180, "ñ": 181, "ò": 182, "ó": 183, "ô": 184, "õ": 185, "ö": 186, "÷": 187, "ø": 188, "ù": 189, "ú": 190, "û": 191, "ü": 192, "ý": 193, "þ": 194, "ÿ": 195, "Ā": 196, "ā": 197, "Ă": 198, "ă": 199, "Ą": 200, "ą": 201, "Ć": 202, "ć": 203, "Ĉ": 204, "ĉ": 205, "Ċ": 206, "ċ": 207, "Č": 208, "č": 209, "Ď": 210, "ď": 211, "Đ": 212, "đ": 213, "Ē": 214, "ē": 215, "Ĕ": 216, "ĕ": 217, "Ė": 218, "ė": 219, "Ę": 220, "ę": 221, "Ě": 222, "ě": 223, "Ĝ": 224, "ĝ": 225, "Ğ": 226, "ğ": 227, "Ġ": 228, "ġ": 229, "Ģ": 230, "ģ": 231, "Ĥ": 232, "ĥ": 233, "Ħ": 234, "ħ": 235, "Ĩ": 236, "ĩ": 237, "Ī": 238, "ī": 239, "Ĭ": 240, "ĭ": 241, "Į": 242, "į": 243, "İ": 244, "ı": 245, "IJ": 246, "ij": 247, "Ĵ": 248, "ĵ": 249, "Ķ": 250, "ķ": 251, "ĸ": 252, "Ĺ": 253, "ĺ": 254, "Ļ": 255, "ļ": 256, "Ľ": 257, "ľ": 258, "Ŀ": 259, "ŀ": 260, "Ł": 261, "ł": 262, "Ń": 263, "Ġ=": 264, "Ġ+": 265, "Ġ*": 266, "00": 267, "Ġ1": 268, "Ġ2": 269, "Ġ-": 270, "Ġ4": 271, "Ġ3": 272, "Ġ5": 273, "Ġ6": 274, "Ġ8": 275, "Ġ7": 276, "Ġ9": 277, "er": 278, "Ġ10": 279, "ns": 280, "wer": 281, "Ans": 282, "Answer": 283, "000": 284, "20": 285, "Ġ20": 286, "Ġm": 287, "Ġf": 288, "40": 289, "60": 290, "80": 291, "Ġi": 292, "es": 293, "ha": 294, "Ġ40": 295, "nt": 296, "10": 297, "Ġ100": 298, "50": 299, "Ġ30": 300, "ts": 301, "Ġs": 302, "Ġfi": 303, "Ġ60": 304, "Ġ50": 305, "an": 306, "ti": 307, "Ġ80": 308, "30": 309, "ow": 310, "Ġd": 311, "Ġ12": 312, "Ġb": 313, "Ġc": 314, "70": 315, "Ġint": 316, "Ġinto": 317, "Ġfits": 318, "Ġ70": 319, "90": 320, "Ġ0": 321, "ar": 322, "ac": 323, "om": 324, "en": 325, "Ġ90": 326, "Ġha": 327, "How": 328, "ve": 329, "Ġ200": 330, "12": 331, "al": 332, "Ġt": 333, "Ġ18": 334, "ul": 335, "Ġdo": 336, "te": 337, "Ġ16": 338, "re": 339, "Ġ15": 340, "Ġ11": 341, "Ġ14": 342, "Ġ400": 343, "Ġ/": 344, "Ġa": 345, "pl": 346, "Ġ300": 347, "16": 348, "ent": 349, "Ġ24": 350, "Ġso": 351, "hat": 352, "ĠHow": 353, "Ġ13": 354, "15": 355, "14": 356, "18": 357, "iv": 358, "Ġhas": 359, "Ġman": 360, "Ġmany": 361, "rac": 362, "Qu": 363, "oti": 364, "Quoti": 365, "Quotient": 366, "13": 367, "in": 368, "Ġ36": 369, "Ġis": 370, "Ġto": 371, "Ġ17": 372, "24": 373, "25": 374, "ea": 375, "cul": 376, "alcul": 377, "alcula": 378, "200": 379, "17": 380, "Ġdoes": 381, "Ġ500": 382, "Ġo": 383, "Ġg": 384, "Ġ27": 385, "Ġ600": 386, "19": 387, "Ġ28": 388, "Ġ19": 389, "alculate": 390, "Ġe": 391, "Ġ25": 392, "Ġ1000": 393, "ore": 394, "28": 395, "lve": 396, "36": 397, "rs": 398, "hen": 399, "11": 400, "Ġof": 401, "Ġ48": 402, "Ġ35": 403, "400": 404, "Ġ800": 405, "100": 406, "Ġ45": 407, "Ġfr": 408, "27": 409, "us": 410, "ou": 411, "ed": 412, "and": 413, "600": 414, "23": 415, "oo": 416, "Ġp": 417, "48": 418, "Then": 419, "rst": 420, "et": 421, "ma": 422, "Ġ700": 423, "35": 424, "Ġby": 425, "what": 426, "Ġhave": 427, "Ġmore": 428, "bt": 429, "ubt": 430, "ract": 431, "ubtract": 432, "26": 433, "ives": 434, "ets": 435, "29": 436, "uc": 437, "75": 438, "Ġmuc": 439, "Ġmuch": 440, "45": 441, "300": 442, "38": 443, "Ġ26": 444, "ars": 445, "Ġ900": 446, "Ġ29": 447, "39": 448, "Ġ56": 449, "Ġfirst": 450, "44": 451, "eas": 452, "22": 453, "76": 454, "Ġ49": 455, "dd": 456, "Ġmul": 457, "tipl": 458, "Ġmultipl": 459, "Ġ2000": 460, "Pl": 461, "ease": 462, "Please": 463, "What": 464, "her": 465, "Ġgives": 466, "800": 467, "32": 468, "Ġ39": 469, "Ġ-(": 470, "37": 471, "Ġ21": 472, "Ġ54": 473, "ach": 474, "34": 475, "Ġ38": 476, "all": 477, "ĠÃ": 478, "Calculate": 479, "am": 480, "Ġ32": 481, "Ġfrom": 482, "il": 483, "Ġsubtract": 484, "500": 485, "der": 486, "Ġre": 487, "inder": 488, "mainder": 489, "Ġremainder": 490, "ers": 491, "Ġand": 492, "ook": 493, "56": 494, "or": 495, "you": 496, "Ġyou": 497, "46": 498, "Ġsolve": 499, "Ġpl": 500, "Ġplus": 501, "49": 502, "Ġ72": 503, "Ġ37": 504, "ies": 505, "Ġ46": 506, "Ġadd": 507, "Ġ42": 508, "Ġ120": 509, "Ġn": 510, "88": 511}, "merges": ["Ġ =", "Ġ +", "Ġ *", "Ġ -", "e r", "n s", "w er", "A ns", "Ans wer", "Ġ m", "Ġ f", "Ġ i", "e s", "h a", "n t", "t s", "Ġ s", "Ġf i", "a n", "t i", "o w", "Ġ d", "Ġ b", "Ġ c", "Ġi nt", "Ġint o", "Ġfi ts", "a r", "a c", "o m", "e n", "Ġ ha", "H ow", "v e", "a l", "Ġ t", "u l", "Ġd o", "t e", "r e", "Ġ /", "Ġ a", "p l", "e nt", "Ġs o", "ha t", "Ġ How", "i v", "Ġha s", "Ġm an", "Ġman y", "r ac", "Q u", "o ti", "Qu oti", "Quoti ent", "i n", "Ġi s", "Ġt o", "e a", "c ul", "al cul", "alcul a", "Ġdo es", "Ġ o", "Ġ g", "alcula te", "Ġ e", "o re", "l ve", "r s", "h en", "Ġo f", "Ġf r", "u s", "o u", "e d", "an d", "o o", "Ġ p", "T hen", "rs t", "e t", "m a", "Ġb y", "w hat", "Ġha ve", "Ġm ore", "b t", "u bt", "rac t", "ubt ract", "iv es", "e ts", "u c", "Ġm uc", "Ġmuc h", "ar s", "Ġfi rst", "ea s", "d d", "Ġm ul", "ti pl", "Ġmul tipl", "P l", "eas e", "Pl ease", "W hat", "h er", "Ġg ives", "Ġ- (", "ac h", "al l", "Ġ Ã", "C alculate", "a m", "Ġfr om", "i l", "Ġs ubtract", "d er", "Ġ re", "in der", "ma inder", "Ġre mainder", "er s", "Ġ and", "oo k", "o r", "y ou", "Ġ you", "Ġso lve", "Ġ pl", "Ġpl us", "i es", "Ġa dd", "Ġ n"]}} |