Text Generation
Transformers
Safetensors
English
ivme
language-model
transformer
rope
swiglu
muon
from-scratch
tiny
small
decoder-only
custom_code
Instructions to use IvmeLabs/Ivme-Conversate-v2-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IvmeLabs/Ivme-Conversate-v2-Base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="IvmeLabs/Ivme-Conversate-v2-Base", trust_remote_code=True)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("IvmeLabs/Ivme-Conversate-v2-Base", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use IvmeLabs/Ivme-Conversate-v2-Base with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "IvmeLabs/Ivme-Conversate-v2-Base" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "IvmeLabs/Ivme-Conversate-v2-Base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/IvmeLabs/Ivme-Conversate-v2-Base
- SGLang
How to use IvmeLabs/Ivme-Conversate-v2-Base 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-v2-Base" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "IvmeLabs/Ivme-Conversate-v2-Base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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-v2-Base" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "IvmeLabs/Ivme-Conversate-v2-Base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use IvmeLabs/Ivme-Conversate-v2-Base with Docker Model Runner:
docker model run hf.co/IvmeLabs/Ivme-Conversate-v2-Base
Update README.md
Browse files
README.md
CHANGED
|
@@ -54,15 +54,16 @@ Nearly every setting above matches v1 on purpose. The point of v2 was to isolate
|
|
| 54 |
|
| 55 |
## Benchmarks
|
| 56 |
|
| 57 |
-
Benchmarks were run with
|
| 58 |
|
| 59 |
| Benchmark | v1 | v2 |
|
| 60 |
|---|---|---|
|
| 61 |
-
| WikiText-2 (byte perplexity) ↓ | 2.96 | **2.
|
| 62 |
-
| BLiMP (macro-average) ↑ | 61.40% | **
|
| 63 |
-
| ARC-Easy ↑ | 30.85% | **
|
|
|
|
| 64 |
|
| 65 |
-
Every metric improved
|
| 66 |
|
| 67 |
### BLiMP paradigm breakdown
|
| 68 |
|
|
@@ -70,22 +71,22 @@ Strong on core agreement paradigms:
|
|
| 70 |
|
| 71 |
| Paradigm | Accuracy |
|
| 72 |
|---|---|
|
| 73 |
-
|
|
| 74 |
-
|
|
| 75 |
-
|
|
| 76 |
-
|
|
| 77 |
-
|
|
| 78 |
-
|
|
| 79 |
|
| 80 |
Weaker on long-distance dependencies and island constraints, a known hard case for small models:
|
| 81 |
|
| 82 |
| Paradigm | Accuracy |
|
| 83 |
|---|---|
|
| 84 |
-
|
|
| 85 |
-
|
|
| 86 |
-
|
|
| 87 |
-
|
|
| 88 |
-
|
|
| 89 |
|
| 90 |
This pattern, strong local agreement paired with weaker long-distance syntax, is typical for models at this scale.
|
| 91 |
|
|
|
|
| 54 |
|
| 55 |
## Benchmarks
|
| 56 |
|
| 57 |
+
Benchmarks were run with lm-evaluation-harness via a custom model adapter (previous numbers from an internal script have been superseded by these).
|
| 58 |
|
| 59 |
| Benchmark | v1 | v2 |
|
| 60 |
|---|---|---|
|
| 61 |
+
| WikiText-2 (byte perplexity) ↓ | 2.96 | **2.2250** |
|
| 62 |
+
| BLiMP (macro-average, 68 paradigms) ↑ | 61.40% | **75.09%** |
|
| 63 |
+
| ARC-Easy (acc_norm) ↑ | 30.85% | **39.98%** |
|
| 64 |
+
| ARC-Easy (acc) ↑ | — | **43.56%** |
|
| 65 |
|
| 66 |
+
Every metric improved. The ARC-Easy acc_norm gain (30.85% → 39.98%) is more modest than the raw acc numbers alone suggest, but still a real improvement over v1.
|
| 67 |
|
| 68 |
### BLiMP paradigm breakdown
|
| 69 |
|
|
|
|
| 71 |
|
| 72 |
| Paradigm | Accuracy |
|
| 73 |
|---|---|
|
| 74 |
+
| blimp_principle_A_case_1 | 100.00% |
|
| 75 |
+
| blimp_existential_there_quantifiers_1 | 99.40% |
|
| 76 |
+
| blimp_anaphor_number_agreement | 98.00% |
|
| 77 |
+
| blimp_sentential_negation_npi_licensor_present | 97.30% |
|
| 78 |
+
| blimp_determiner_noun_agreement_1 | 96.90% |
|
| 79 |
+
| blimp_principle_A_domain_1 | 95.40% |
|
| 80 |
|
| 81 |
Weaker on long-distance dependencies and island constraints, a known hard case for small models:
|
| 82 |
|
| 83 |
| Paradigm | Accuracy |
|
| 84 |
|---|---|
|
| 85 |
+
| blimp_wh_vs_that_with_gap_long_distance | 17.20% |
|
| 86 |
+
| blimp_existential_there_quantifiers_2 | 30.20% |
|
| 87 |
+
| blimp_left_branch_island_echo_question | 31.40% |
|
| 88 |
+
| blimp_superlative_quantifiers_2 | 33.20% |
|
| 89 |
+
| blimp_principle_A_reconstruction | 36.10% |
|
| 90 |
|
| 91 |
This pattern, strong local agreement paired with weaker long-distance syntax, is typical for models at this scale.
|
| 92 |
|