Text Generation
Transformers
Safetensors
English
qwen2
number-theory
computational-mathematics
continued-fractions
cuda
agentic
tool-calling
qlora
research-companion
conversational
text-generation-inference
Instructions to use cahlen/Convergent-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cahlen/Convergent-7B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="cahlen/Convergent-7B") 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("cahlen/Convergent-7B") model = AutoModelForCausalLM.from_pretrained("cahlen/Convergent-7B", 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
- vLLM
How to use cahlen/Convergent-7B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cahlen/Convergent-7B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cahlen/Convergent-7B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cahlen/Convergent-7B
- SGLang
How to use cahlen/Convergent-7B 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 "cahlen/Convergent-7B" \ --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": "cahlen/Convergent-7B", "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 "cahlen/Convergent-7B" \ --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": "cahlen/Convergent-7B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use cahlen/Convergent-7B with Docker Model Runner:
docker model run hf.co/cahlen/Convergent-7B
Commit History
-
v4.2: update model card with balanced eval scores (75% overall, std=8.4)
Verified signature7f6d08d
-
Upload model.safetensors with huggingface_hub
Verified signatureb8a2b74 -
Upload tokenizer_config.json with huggingface_hub
Verified signatured501c32 -
Upload tokenizer.json with huggingface_hub
Verified signature540fff7 -
Upload generation_config.json with huggingface_hub
Verified signatureb6a83c6 -
Upload config.json with huggingface_hub
Verified signature58b960f -
Upload README.md with huggingface_hub
Verified signature3a25b46 -
docs: honest CUDA limitations
Verified signaturee9deabd -
fix: auto-download instructions in quick start
Verified signature35e0f9a -
docs: fix stale question/category counts
Verified signature161272d -
docs: add solo maintainer disclaimer
Verified signaturecb837da -
fix: remove stale sampling params from generation_config (suppresses warning)
Verified signature7336e41 -
weights: PEFT-merged with stale tool name fixes (golden model)
Verified signature8b4f59d -
Remove old shard model.safetensors.index.json
Verified signature736d939 -
Remove old shard model-00004-of-00004.safetensors
Verified signature2f3dbca -
Remove old shard model-00003-of-00004.safetensors
Verified signature8bfe621 -
Remove old shard model-00002-of-00004.safetensors
Verified signature19f798d -
Remove old shard model-00001-of-00004.safetensors
Verified signaturededf289 -
docs: remove research planning claims
Verified signature9aedf5e -
docs: update benchmark scores (74% overall, agentic_tool_use 62->81%)
Verified signature7002516
-
docs: add real example outputs from E2E testing
Verified signature851a97f -
docs: use tokenizer tools= param for tool calling example
Verified signature6fd44f3 -
Delete convergent-banner.png with huggingface_hub
Verified signatureedf57cc -
Upload folder using huggingface_hub
Verified signature925a7b4 -
Upload README.md with huggingface_hub
Verified signaturec026b5f -
Upload convergent-banner.jpg with huggingface_hub
Verified signaturea82cae8 -
Upload README.md with huggingface_hub
Verified signature661b3d0 -
Upload README.md with huggingface_hub
Verified signature4885e1c -
Upload convergent-banner.png with huggingface_hub
Verified signature94215c7 -
Upload README.md with huggingface_hub
Verified signature8328cb1 -
Upload README.md with huggingface_hub
Verified signaturee5db3fe -
Upload README.md with huggingface_hub
Verified signature229de37 -
Upload README.md with huggingface_hub
Verified signatureb516d8b
-
Upload README.md with huggingface_hub
Verified signature53077ae -
initial commit
Verified signature1294e0a