Text Generation
Transformers
Safetensors
qwen2
control-foundation-model
scientific-ai
methodology-review
peer-review
rlvr
morphmind
conversational
text-generation-inference
Instructions to use MorphMind-AI/CFM-Methods-3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MorphMind-AI/CFM-Methods-3B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="MorphMind-AI/CFM-Methods-3B") 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("MorphMind-AI/CFM-Methods-3B") model = AutoModelForCausalLM.from_pretrained("MorphMind-AI/CFM-Methods-3B", 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 MorphMind-AI/CFM-Methods-3B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MorphMind-AI/CFM-Methods-3B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MorphMind-AI/CFM-Methods-3B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/MorphMind-AI/CFM-Methods-3B
- SGLang
How to use MorphMind-AI/CFM-Methods-3B 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 "MorphMind-AI/CFM-Methods-3B" \ --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": "MorphMind-AI/CFM-Methods-3B", "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 "MorphMind-AI/CFM-Methods-3B" \ --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": "MorphMind-AI/CFM-Methods-3B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use MorphMind-AI/CFM-Methods-3B with Docker Model Runner:
docker model run hf.co/MorphMind-AI/CFM-Methods-3B
Commit History
-
Update benchmark figure (no truncation)
Verified signaturedaced6f -
Refresh card: clean two-panel benchmark figure, worked example, multi-domain framing
Verified signature957cff8 -
Delete leaderboard.png with huggingface_hub
Verified signature1fd0c66 -
CFM-Methods-3B: methodology screener (held-out recall 0.978, loc 0.969, FPR 0.005; SOTA comparison)
Verified signature0538b55
-
Full merged weights; inference:false for cleaner page
Verified signature8f526d5 -
Delete adapter_model.safetensors with huggingface_hub
Verified signaturefc8c143 -
Delete adapter_config.json with huggingface_hub
Verified signature09e762d -
Upload vocab.json with huggingface_hub
Verified signature41ba6a2 -
Upload tokenizer_config.json with huggingface_hub
Verified signature8ded231 -
Upload tokenizer.json with huggingface_hub
Verified signature74776e1 -
Upload special_tokens_map.json with huggingface_hub
Verified signaturecd04dac -
Upload model.safetensors.index.json with huggingface_hub
Verified signature6d99cee -
Upload model-00002-of-00002.safetensors with huggingface_hub
Verified signaturefd3a828 -
Upload model-00001-of-00002.safetensors with huggingface_hub
Verified signatured58043a -
Upload merges.txt with huggingface_hub
Verified signature0935ff8 -
Upload generation_config.json with huggingface_hub
Verified signature61f12a9 -
Upload config.json with huggingface_hub
Verified signature3b20c39 -
Upload chat_template.jinja with huggingface_hub
Verified signatured128762 -
Upload added_tokens.json with huggingface_hub
Verified signature7116501
-
Drop on-prem label
Verified signature9139aab -
Cleaner centered figure, factual title
Verified signaturec6aa3fa -
Upload leaderboard.png with huggingface_hub
Verified signature97c1579 -
Factual recall-vs-frontier framing; consistent 150-proof sample
Verified signatureb465d4b -
leaderboard: remove caption
Verified signaturea6b262a -
Upload LICENSE with huggingface_hub
Verified signature80e89a4 -
Upload leaderboard.png with huggingface_hub
Verified signature00913d8 -
Add fair leaderboard (matches GPT-5.4, beats Opus 4.8)
Verified signaturea6cadcc -
CFM-Proof-3B research preview: adapter + model card
Verified signatureee4aaa2 -
initial commit
Verified signatureba1bd7c