hengm3467 commited on
Commit
e03d01d
·
1 Parent(s): fbcee77

sync to v3 model card

Browse files

- §4: rephrase availability, list partners inline, drop "Labs" from Modal
- §5.1: simpler region callout (prose + bullets with explicit base URLs)
- §6.3: use processor.decode (equivalent to processor.tokenizer.decode)

Files changed (1) hide show
  1. README.md +6 -8
README.md CHANGED
@@ -41,7 +41,7 @@ Step 3.7 Flash is built for live engineering tasks and secured a definitive seco
41
  | Output | $1.15 / M tokens |
42
 
43
  ## 4. Availability, Deployment, and Ecosystem
44
- - Availability: Step 3.7 Flash is available through StepFun Open Platform — [platform.stepfun.ai](https://platform.stepfun.ai) (Global) and [platform.stepfun.com](https://platform.stepfun.com) (China) — as well as partner platforms including OpenRouter and NVIDIA NIM. StepFun is also partnering with DeepInfra, Fireworks AI, and Modal Labs to expand availability soon.
45
  - Deployment: Step 3.7 Flash supports flexible deployment across cloud, data center, and local environments. For large-scale production and enterprise use cases, Step 3.7 Flash can be deployed on modern data center infrastructure. For local and workstation scenarios, it can also run on high-memory devices such as NVIDIA DGX Station, AMD Ryzen AI Max+ 395-based systems, and Mac Studio / Macbook Pro devices with at least 128GB unified memory.
46
  - Ecosystem: Step 3.7 Flash is supported across popular open-source infrastructure for both inference and model development. For inference and serving, developers can use vLLM, SGLang, Hugging Face Transformers, and llama.cpp. For model development workflows, StepFun model support has landed in the NVIDIA Megatron ecosystem, including Megatron Core and Megatron Bridge.
47
 
@@ -49,14 +49,12 @@ Step 3.7 Flash is built for live engineering tasks and secured a definitive seco
49
 
50
  You can get started with Step 3.7 Flash in minutes using StepFun's API or via other inference providers.
51
 
52
- > **Note — pick the right `base_url` for your region.** StepFun operates two regional platforms with separate API hosts. The `base_url` you pass to the OpenAI client **must** match the platform where your API key was issued, otherwise requests will be rejected as unauthorized.
53
  >
54
- > | Platform | Console | `base_url` |
55
- > |---|---|---|
56
- > | Global | [platform.stepfun.ai](https://platform.stepfun.ai) | `https://api.stepfun.ai/v1` |
57
- > | China | [platform.stepfun.com](https://platform.stepfun.com) | `https://api.stepfun.com/v1` |
58
  >
59
- > To avoid hard-coding the wrong region, the examples below read both values from environment variables. Export them once before running:
60
  >
61
  > ```bash
62
  > export STEP_API_KEY="sk-..."
@@ -298,7 +296,7 @@ inputs = processor.apply_chat_template(
298
 
299
  # 3. Generate
300
  generated_ids = model.generate(**inputs, max_new_tokens=128, do_sample=False)
301
- output_text = processor.tokenizer.decode(generated_ids[0][inputs.input_ids.shape[1]:], skip_special_tokens=True)
302
 
303
  print(output_text)
304
  ```
 
41
  | Output | $1.15 / M tokens |
42
 
43
  ## 4. Availability, Deployment, and Ecosystem
44
+ - Availability: Step 3.7 Flash is available on the StepFun Open Platform — [platform.stepfun.ai](https://platform.stepfun.ai) (Global) and [platform.stepfun.com](https://platform.stepfun.com) (China), OpenRouter, and NVIDIA NIM. StepFun is also partnering with DeepInfra, Fireworks AI, and Modal to expand availability soon.
45
  - Deployment: Step 3.7 Flash supports flexible deployment across cloud, data center, and local environments. For large-scale production and enterprise use cases, Step 3.7 Flash can be deployed on modern data center infrastructure. For local and workstation scenarios, it can also run on high-memory devices such as NVIDIA DGX Station, AMD Ryzen AI Max+ 395-based systems, and Mac Studio / Macbook Pro devices with at least 128GB unified memory.
46
  - Ecosystem: Step 3.7 Flash is supported across popular open-source infrastructure for both inference and model development. For inference and serving, developers can use vLLM, SGLang, Hugging Face Transformers, and llama.cpp. For model development workflows, StepFun model support has landed in the NVIDIA Megatron ecosystem, including Megatron Core and Megatron Bridge.
47
 
 
49
 
50
  You can get started with Step 3.7 Flash in minutes using StepFun's API or via other inference providers.
51
 
52
+ > Pick the right `base_url` for your region. StepFun operates two regional platforms with separate API hosts. The `base_url` you pass to the OpenAI client must match the platform where your API key was issued, otherwise requests will be rejected as unauthorized.
53
  >
54
+ > - **Global**: [platform.stepfun.ai](https://platform.stepfun.ai) `base_url=https://api.stepfun.ai/v1`
55
+ > - **China**: [platform.stepfun.com](https://platform.stepfun.com) — `base_url=https://api.stepfun.com/v1`
 
 
56
  >
57
+ > To avoid hard-coding the wrong region, the examples below read both the API key and base URL from environment variables. Export them once before running:
58
  >
59
  > ```bash
60
  > export STEP_API_KEY="sk-..."
 
296
 
297
  # 3. Generate
298
  generated_ids = model.generate(**inputs, max_new_tokens=128, do_sample=False)
299
+ output_text = processor.decode(generated_ids[0][inputs.input_ids.shape[1]:], skip_special_tokens=True)
300
 
301
  print(output_text)
302
  ```