Text Generation
Transformers
Safetensors
English
ivme_conversate
ivme
small-language-model
instruct
chat
sft
muon
xsa
qk-norm
custom_code
conversational
Instructions to use IvmeLabs/Ivme-Conversate-v3.1-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IvmeLabs/Ivme-Conversate-v3.1-Instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="IvmeLabs/Ivme-Conversate-v3.1-Instruct", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("IvmeLabs/Ivme-Conversate-v3.1-Instruct", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use IvmeLabs/Ivme-Conversate-v3.1-Instruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "IvmeLabs/Ivme-Conversate-v3.1-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": "IvmeLabs/Ivme-Conversate-v3.1-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/IvmeLabs/Ivme-Conversate-v3.1-Instruct
- SGLang
How to use IvmeLabs/Ivme-Conversate-v3.1-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 "IvmeLabs/Ivme-Conversate-v3.1-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": "IvmeLabs/Ivme-Conversate-v3.1-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 "IvmeLabs/Ivme-Conversate-v3.1-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": "IvmeLabs/Ivme-Conversate-v3.1-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use IvmeLabs/Ivme-Conversate-v3.1-Instruct with Docker Model Runner:
docker model run hf.co/IvmeLabs/Ivme-Conversate-v3.1-Instruct
Download training/data_stats.json from IvmeLabs/Ivme-Conversate-v3.1-Instruct: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/IvmeLabs/Ivme-Conversate-v3.1-Instruct/resolve/main/training/data_stats.json
- Command line
-
hf download hf://IvmeLabs/Ivme-Conversate-v3.1-Instruct/training/data_stats.json
-
curl -L -o data_stats.json https://huggingface.co/IvmeLabs/Ivme-Conversate-v3.1-Instruct/resolve/main/training/data_stats.json
1.02 kB
| { | |
| "smol-smoltalk": { | |
| "convs": 403961, | |
| "kept": 128225, | |
| "tokens": 44035115, | |
| "loss_tokens": 23249774, | |
| "repeat": 1 | |
| }, | |
| "everyday": { | |
| "convs": 2260, | |
| "kept": 2260, | |
| "tokens": 2234750, | |
| "loss_tokens": 1285855, | |
| "repeat": 5 | |
| }, | |
| "openthink": { | |
| "convs": 42987, | |
| "kept": 42960, | |
| "tokens": 10934392, | |
| "loss_tokens": 5152946, | |
| "repeat": 2 | |
| }, | |
| "libremath": { | |
| "convs": 52147, | |
| "kept": 52137, | |
| "tokens": 6572222, | |
| "loss_tokens": 3905494, | |
| "repeat": 1 | |
| }, | |
| "identity": { | |
| "convs": 400, | |
| "kept": 400, | |
| "tokens": 16999, | |
| "loss_tokens": 10863, | |
| "repeat": 1 | |
| }, | |
| "casual": { | |
| "convs": 2224, | |
| "kept": 2224, | |
| "tokens": 73862, | |
| "loss_tokens": 30489, | |
| "repeat": 1 | |
| }, | |
| "safety": { | |
| "convs": 2522, | |
| "kept": 2522, | |
| "tokens": 162412, | |
| "loss_tokens": 104206, | |
| "repeat": 1 | |
| }, | |
| "replay_fineweb_edu": { | |
| "tokens": 18024448, | |
| "loss_tokens": 18024448 | |
| }, | |
| "_total": { | |
| "train_seqs": 92558, | |
| "train_tokens": 94779392, | |
| "train_loss_tokens": 51519787, | |
| "val_seqs": 542, | |
| "fill": 0.8608774257593887 | |
| } | |
| } |