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)# 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=40) 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
Upload LICENSE with huggingface_hub
Browse files
LICENSE
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MorphMind CFM Research License (v1.0)
|
| 2 |
+
|
| 3 |
+
CFM-Proof-3B ("the Model") is created and released by MorphMind, Inc. The Model is a derivative work
|
| 4 |
+
of Qwen2.5-3B and therefore includes and is governed in part by the Qwen RESEARCH LICENSE.
|
| 5 |
+
|
| 6 |
+
By downloading, using, or distributing the Model you agree to all of the following:
|
| 7 |
+
|
| 8 |
+
1. UNDERLYING BASE TERMS. The Model incorporates weights derived from Qwen2.5-3B, which are subject to
|
| 9 |
+
the Qwen RESEARCH LICENSE (https://huggingface.co/Qwen/Qwen2.5-3B/blob/main/LICENSE). You must
|
| 10 |
+
comply with that license. Nothing in this document grants rights broader than the Qwen RESEARCH
|
| 11 |
+
LICENSE permits.
|
| 12 |
+
|
| 13 |
+
2. PERMITTED USE. Subject to clause 1, you may use, copy, and create derivatives of the Model for
|
| 14 |
+
RESEARCH and other NON-COMMERCIAL purposes.
|
| 15 |
+
|
| 16 |
+
3. ATTRIBUTION. You must retain attribution to both MorphMind ("CFM-Proof-3B") and Qwen
|
| 17 |
+
("Qwen2.5-3B") in any use or redistribution, and include a copy of this license.
|
| 18 |
+
|
| 19 |
+
4. COMMERCIAL USE. Commercial use of the Model is available under separate terms from MorphMind.
|
| 20 |
+
Contact morphmind.ai.
|
| 21 |
+
|
| 22 |
+
5. NO WARRANTY. The Model is provided "AS IS", without warranty of any kind. CFM-Proof-3B is a
|
| 23 |
+
high-recall screening aid and is not a guarantee of correctness; outputs must be reviewed by a
|
| 24 |
+
qualified human. MorphMind is not liable for any use of the Model.
|
| 25 |
+
|
| 26 |
+
© 2026 MorphMind, Inc. Built on Qwen2.5-3B (© Alibaba Cloud) under the Qwen RESEARCH LICENSE.
|