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
File size: 1,021 Bytes
3b070ed | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | {
"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
}
} |