Text Generation
Transformers
Safetensors
GGUF
English
qwen3
causal-lm
chat
from-scratch
conversational
text-generation-inference
Instructions to use aethertp/PicoLM-V4-85M-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aethertp/PicoLM-V4-85M-Instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="aethertp/PicoLM-V4-85M-Instruct") 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("aethertp/PicoLM-V4-85M-Instruct") model = AutoModelForCausalLM.from_pretrained("aethertp/PicoLM-V4-85M-Instruct", 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 aethertp/PicoLM-V4-85M-Instruct 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 aethertp/PicoLM-V4-85M-Instruct:Q4_K_M # Run inference directly in the terminal: llama cli -hf aethertp/PicoLM-V4-85M-Instruct:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf aethertp/PicoLM-V4-85M-Instruct:Q4_K_M # Run inference directly in the terminal: llama cli -hf aethertp/PicoLM-V4-85M-Instruct:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf aethertp/PicoLM-V4-85M-Instruct:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf aethertp/PicoLM-V4-85M-Instruct:Q4_K_M
Use Docker
docker model run hf.co/aethertp/PicoLM-V4-85M-Instruct:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use aethertp/PicoLM-V4-85M-Instruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "aethertp/PicoLM-V4-85M-Instruct" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "aethertp/PicoLM-V4-85M-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/aethertp/PicoLM-V4-85M-Instruct:Q4_K_M
- SGLang
How to use aethertp/PicoLM-V4-85M-Instruct 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 "aethertp/PicoLM-V4-85M-Instruct" \ --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": "aethertp/PicoLM-V4-85M-Instruct", "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 "aethertp/PicoLM-V4-85M-Instruct" \ --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": "aethertp/PicoLM-V4-85M-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use aethertp/PicoLM-V4-85M-Instruct with Ollama:
ollama run hf.co/aethertp/PicoLM-V4-85M-Instruct:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use aethertp/PicoLM-V4-85M-Instruct with Docker Model Runner:
docker model run hf.co/aethertp/PicoLM-V4-85M-Instruct:Q4_K_M
- Lemonade
How to use aethertp/PicoLM-V4-85M-Instruct with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull aethertp/PicoLM-V4-85M-Instruct:Q4_K_M
Run and chat with the model
lemonade run user.PicoLM-V4-85M-Instruct-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Clarify which examples the overlap check covered
Browse files
README.md
CHANGED
|
@@ -86,7 +86,7 @@ All data comes from [`HuggingFaceTB/smol-smoltalk`](https://huggingface.co/datas
|
|
| 86 |
- `openhermes-50k` is a sample of [OpenHermes 2.5](https://huggingface.co/datasets/teknium/OpenHermes-2.5). Its card is tagged `Synthetic`, `GPT-4` and `Distillation`, describes the data as "primarily synthetically generated" and compiled from many sources, and names among them Airoboros 2.2, GPT-4-only subsets of ChatBot Arena and ShareGPT, GPT4-LLM, WizardLM Evol-Instruct, SlimOrca, Platypus, CamelAI and Glaive. The card text we read states no license for the compilation. It is about 31% of the fine-tuning tokens. Whether the terms of the services that produced such outputs restrict their use for training a model is a question we did not resolve and are not qualified to answer.
|
| 87 |
- `self-oss-instruct` corresponds to the Self-OSS-Starcoder2-Instruct dataset named in the SmolTalk card, and `explore-instruct-rewrite` to the Explore-Instruct-Rewriting dataset named there. We did not check the models or the licenses behind them.
|
| 88 |
- For `smol-contraints`, `smol-summarize-20k` and `smollm-rewrite-30k`, the SmolTalk card says the generation code is published but we did not verify which models generated the data.
|
| 89 |
-
- The fine-tuning data was not decontaminated against the evaluation sets of this card. The overlap was measured afterwards, and nothing was removed. Method: the 139,505 examples of the fine-tuning training file (42.6 million tokens, decoded back to text; the replay text, which is pretraining data and about 8% of the fine-tuning tokens, is not part of this file and was not checked) and every string of every benchmark item (question, choices, context, passage) were lowercased and split into words. An item counts as overlapping if any run of 13 (or of 8) consecutive words of it also occurs in some training example. Items in which no string has that many words cannot be tested and are left out of the percentages. The result is below. A hit shows shared text. It does not show whether the question or the answer was also in the training data, and the checked strings include passages. Runs of 8 words also match ordinary phrases.
|
| 90 |
|
| 91 |
| Benchmark | Items | 13 words: testable | 13 words: overlapping | 8 words: testable | 8 words: overlapping |
|
| 92 |
|---|---|---|---|---|---|
|
|
|
|
| 86 |
- `openhermes-50k` is a sample of [OpenHermes 2.5](https://huggingface.co/datasets/teknium/OpenHermes-2.5). Its card is tagged `Synthetic`, `GPT-4` and `Distillation`, describes the data as "primarily synthetically generated" and compiled from many sources, and names among them Airoboros 2.2, GPT-4-only subsets of ChatBot Arena and ShareGPT, GPT4-LLM, WizardLM Evol-Instruct, SlimOrca, Platypus, CamelAI and Glaive. The card text we read states no license for the compilation. It is about 31% of the fine-tuning tokens. Whether the terms of the services that produced such outputs restrict their use for training a model is a question we did not resolve and are not qualified to answer.
|
| 87 |
- `self-oss-instruct` corresponds to the Self-OSS-Starcoder2-Instruct dataset named in the SmolTalk card, and `explore-instruct-rewrite` to the Explore-Instruct-Rewriting dataset named there. We did not check the models or the licenses behind them.
|
| 88 |
- For `smol-contraints`, `smol-summarize-20k` and `smollm-rewrite-30k`, the SmolTalk card says the generation code is published but we did not verify which models generated the data.
|
| 89 |
+
- The fine-tuning data was not decontaminated against the evaluation sets of this card. The overlap was measured afterwards, and nothing was removed. Method: the 139,505 examples of the fine-tuning training file (42.6 million tokens, decoded back to text; it lacks 88 of the 522 identity conversations, which were added to the training mix later and contain no benchmark text; the replay text, which is pretraining data and about 8% of the fine-tuning tokens, is not part of this file and was not checked) and every string of every benchmark item (question, choices, context, passage) were lowercased and split into words. An item counts as overlapping if any run of 13 (or of 8) consecutive words of it also occurs in some training example. Items in which no string has that many words cannot be tested and are left out of the percentages. The result is below. A hit shows shared text. It does not show whether the question or the answer was also in the training data, and the checked strings include passages. Runs of 8 words also match ordinary phrases.
|
| 90 |
|
| 91 |
| Benchmark | Items | 13 words: testable | 13 words: overlapping | 8 words: testable | 8 words: overlapping |
|
| 92 |
|---|---|---|---|---|---|
|